projects
/
cumulus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb51ed4
)
Slightly expand the set of characters which are escaped in filenames.
author
Michael Vrable
<mvrable@cs.ucsd.edu>
Wed, 23 May 2007 18:12:29 +0000
(11:12 -0700)
committer
Michael Vrable
<mvrable@turin.ucsd.edu>
Wed, 23 May 2007 18:12:29 +0000
(11:12 -0700)
format.cc
patch
|
blob
|
history
diff --git
a/format.cc
b/format.cc
index
08c2f74
..
19cf28f
100644
(file)
--- a/
format.cc
+++ b/
format.cc
@@
-27,7
+27,7
@@
string uri_encode(const string &in)
for (size_t i = 0; i < in.length(); i++) {
unsigned char c = in[i];
- if (c >
'%' && c <=
0x7f) {
+ if (c >
= '+' && c <
0x7f) {
out += c;
} else {
char buf[4];