summaryrefslogtreecommitdiff
path: root/src/mono_opt.sml
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2010-05-18 14:47:56 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2010-05-18 14:47:56 -0400
commit25792a154d53d515917c41256610a03a0a9de5f9 (patch)
tree3e8963a10acbb1574ae8f981a1fe663684ab82f2 /src/mono_opt.sml
parente5c543adfe4a27b347ce2e78a94727f1e50c8f43 (diff)
URL-escape with '.' instead of '%', to avoid confusing proxies
Diffstat (limited to 'src/mono_opt.sml')
-rw-r--r--src/mono_opt.sml4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mono_opt.sml b/src/mono_opt.sml
index fb6ff264..cf1b1cfe 100644
--- a/src/mono_opt.sml
+++ b/src/mono_opt.sml
@@ -1,4 +1,4 @@
-(* Copyright (c) 2008, Adam Chlipala
+(* Copyright (c) 2008-2010, Adam Chlipala
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -86,7 +86,7 @@ fun urlifyString s =
| ch => if Char.isAlphaNum ch then
str ch
else
- "%" ^ hexIt ch) s
+ "." ^ hexIt ch) s
fun sqlifyInt n = #p_cast (Settings.currentDbms ()) (attrifyInt n, Settings.Int)