mirror of
https://github.com/classilla/tenfourfox.git
synced 2026-04-21 20:17:34 +00:00
#565: M1358297 parts 3 and 4
This commit is contained in:
@@ -167,7 +167,7 @@ nsDefaultURIFixup::GetFixupURIInfo(const nsACString& aStringURI,
|
||||
nsAutoCString uriString(aStringURI);
|
||||
|
||||
// Eliminate embedded newlines, which single-line text fields now allow:
|
||||
uriString.StripChars("\r\n");
|
||||
uriString.StripCRLF();
|
||||
// Cleanup the empty spaces that might be on each end:
|
||||
uriString.Trim(" ");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user