Permalink
Browse files

Change url encoding of spaces from + to %20 (#5232)

  • Loading branch information...
tbonfort committed Feb 24, 2016
1 parent b290c44 commit b6fb9219d7172c464411daf80f88e9f0883be97b
Showing with 1 addition and 3 deletions.
  1. +1 −3 mapstring.c
View
@@ -1135,9 +1135,7 @@ char *msEncodeUrlExcept(const char *data, const char except)
code = (char*)msSmallMalloc(strlen(data)+inc+1);
for (j=code, i=data; *i!='\0'; i++, j++) {
- if (*i == ' ')
- *j = '+';
- else if ( except != '\0' && *i == except ) {
+ if ( except != '\0' && *i == except ) {
*j = except;
} else if (msEncodeChar(*i)) {
ch = *i;

0 comments on commit b6fb921

Please sign in to comment.