OSDN Git Service
(root)
/
hmh
/
hhml.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f4b2aed
)
fix percent-encode.
author
visor
<visor@users.sourceforge.jp>
Thu, 5 Apr 2012 13:16:50 +0000
(22:16 +0900)
committer
visor
<visor@users.sourceforge.jp>
Thu, 5 Apr 2012 13:16:50 +0000
(22:16 +0900)
lib/util_string.cc
patch
|
blob
|
history
diff --git
a/lib/util_string.cc
b/lib/util_string.cc
index
6e60f26
..
58f9061
100644
(file)
--- a/
lib/util_string.cc
+++ b/
lib/util_string.cc
@@
-320,7
+320,7
@@
ustring urlencode (const ustring& url) {
#endif
ustring percentEncode (uiterator b, uiterator e) {
- static uregex re ("(\\x00)|([^A-Za-z0-9_.~
\x80-\xff
-])");
+ static uregex re ("(\\x00)|([^A-Za-z0-9_.~-])");
return percentEncode (b, e, re);
}