зеркало из https://github.com/mozilla/pjs.git
bug 91439 r=pchen sr=darin moa=gagan
about: protocol should be case insensitive
This commit is contained in:
Родитель
0da66fc867
Коммит
6abbba3ad2
|
@ -160,6 +160,9 @@ nsAboutProtocolHandler::NewChannel(nsIURI* uri, nsIChannel* *result)
|
|||
what.BeginReading(begin);
|
||||
contractID.Append(Substring(begin, end));
|
||||
|
||||
// convert to lowercase, as all about: modules are lowercase
|
||||
contractID.ToLowerCase();
|
||||
|
||||
nsCOMPtr<nsIAboutModule> aboutMod(do_GetService(contractID.get(), &rv));
|
||||
if (NS_SUCCEEDED(rv)) {
|
||||
// The standard return case:
|
||||
|
|
Загрузка…
Ссылка в новой задаче