martint/galaxy-server — comment on commit 0fb98678fea8b8b4d88bff5786ce0dd383daa217
File: galaxy-shared/src/main/java/com/proofpoint/galaxy/shared/UriBuilder.java line 236
By dain:

digit returns -1 for invalid character. maybe us isDigit to verify?