mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-27 14:52:16 +00:00
fixes bug 112257 "Reply quoting includes header text" r=gagan, sr=mscott
This commit is contained in:
parent
0afe20e5ae
commit
b228b3cdd5
@ -1417,7 +1417,7 @@ nsStandardURL::SetQuery(const char *query)
|
||||
|
||||
// escape query if necessary
|
||||
nsCAutoString escaped;
|
||||
NS_EscapeURL(query, queryLen, esc_Password, escaped);
|
||||
NS_EscapeURL(query, queryLen, esc_Query, escaped);
|
||||
if (!escaped.IsEmpty()) {
|
||||
query = escaped.get();
|
||||
queryLen = escaped.Length();
|
||||
@ -1469,7 +1469,7 @@ nsStandardURL::SetRef(const char *ref)
|
||||
|
||||
// escape ref if necessary
|
||||
nsCAutoString escaped;
|
||||
NS_EscapeURL(ref, refLen, esc_Password, escaped);
|
||||
NS_EscapeURL(ref, refLen, esc_Ref, escaped);
|
||||
if (!escaped.IsEmpty()) {
|
||||
ref = escaped.get();
|
||||
refLen = escaped.Length();
|
||||
|
Loading…
Reference in New Issue
Block a user