fixes bug 112257 "Reply quoting includes header text" r=gagan, sr=mscott

This commit is contained in:
darin%netscape.com 2001-11-28 00:59:02 +00:00
parent 0afe20e5ae
commit b228b3cdd5

View File

@ -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();