зеркало из https://github.com/mozilla/gecko-dev.git
Fix to use the resource url as the original url if an original wasn't supplied.
This commit is contained in:
Родитель
f9858d1ee6
Коммит
c71b5e670b
|
@ -310,7 +310,7 @@ nsResourceProtocolHandler::NewChannel(const char* verb, nsIURI* uri,
|
|||
|
||||
nsIChannel* channel;
|
||||
rv = serv->NewChannel(verb, filePath, uri, aLoadGroup, notificationCallbacks,
|
||||
loadAttributes, originalURI, &channel);
|
||||
loadAttributes, originalURI ? originalURI : uri, &channel);
|
||||
nsCRT::free(filePath);
|
||||
if (NS_FAILED(rv)) return rv;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче