This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
final long MAX_ALLOWED_CHUNK_SIZE = 15 * 1024 * 1024; | |
final Pattern rangeMatcher = Pattern.compile("[^\\d]+(\\d+)[^\\d]+(\\d+)?"); | |
public Result download(String path) { | |
String sanitizedPath; | |
try { | |
sanitizedPath = sanitizedUserInputPath(path == null ? "" : path); | |
} catch(RuntimeException e) { | |
return badRequest(e.toString()); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LC_ALL=ja_JP wine my_app.exe |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Mississippi": [30.1477890014648, 34.9960556030273, -91.6550140380859, -88.0980072021484], | |
"Oklahoma": [33.6191940307617, 37.0021362304688, -103.002571105957, -94.4312133789062], | |
"Delaware": [38.4511260986328, 39.8394355773926, -75.7890472412109, -74.9846343994141], | |
"Minnesota": [43.4994277954102, 49.3844909667969, -97.2392654418945, -89.4833831787109], | |
"Illinois": [36.9701309204102, 42.5083045959473, -91.513053894043, -87.0199203491211], | |
"Arkansas": [33.0041046142578, 36.4996032714844, -94.6178131103516, -89.6422424316406], | |
"New Mexico": [31.3323001861572, 37.0001411437988, -109.050178527832, -103.000862121582], | |
"Indiana": [37.7717399597168, 41.7613716125488, -88.0997085571289, -84.7845764160156], | |
"Louisiana": [28.9210300445557, 33.019458770752, -94.0431518554688, -88.817008972168], |