зеркало из https://github.com/mozilla/pjs.git
Fix to use the resource url as the original url if an original wasn't supplied.
This commit is contained in:
Родитель
e70828605d
Коммит
79675fe4ef
|
@ -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;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче