projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge pull request #2778 from xmcclure/checked-build-updates-2
[mono.git]
/
mcs
/
class
/
System.Net.Http
/
System.Net.Http.Headers
/
ContentDispositionHeaderValue.cs
diff --git
a/mcs/class/System.Net.Http/System.Net.Http.Headers/ContentDispositionHeaderValue.cs
b/mcs/class/System.Net.Http/System.Net.Http.Headers/ContentDispositionHeaderValue.cs
index 9329ac5796fe4945830f62f8623ac2b840246dc7..f80e50e41431ff0013d257f124aa2708867252fb 100644
(file)
--- a/
mcs/class/System.Net.Http/System.Net.Http.Headers/ContentDispositionHeaderValue.cs
+++ b/
mcs/class/System.Net.Http/System.Net.Http.Headers/ContentDispositionHeaderValue.cs
@@
-257,6
+257,11
@@
namespace System.Net.Http.Headers
continue;
}
+ if (!Lexer.IsValidCharacter (ch) || ch == '*' || ch == '?' || ch == '%') {
+ sb.Append (Uri.HexEscape (ch));
+ continue;
+ }
+
sb.Append (ch);
}