mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-11 16:32:59 +00:00
Fix for bug 17493, We need to cleanup any GCI commands from the URI when generating a file name. R=rhp
This commit is contained in:
parent
ae01c120df
commit
defcd3c81c
@ -1924,6 +1924,7 @@ GenerateFileNameFromURI(nsIURI *aURL)
|
||||
if (*cp)
|
||||
{
|
||||
if ((cp1 = PL_strchr(cp, '/'))) *cp1 = 0;
|
||||
if ((cp1 = PL_strchr(cp, '?'))) *cp1 = 0;
|
||||
if (*cp != '\0')
|
||||
{
|
||||
returnString = PL_strdup(cp);
|
||||
|
Loading…
Reference in New Issue
Block a user