зеркало из https://github.com/mozilla/gecko-dev.git
Chagned nsFrameImageLoader::Init to use ToNewUTF8String instead of ToNewCString
in order to avoid data loss for non ASCII data, bug 61132, r=ftang, sr=attinasi.
This commit is contained in:
Родитель
f023e39b47
Коммит
20fa7b8f0f
|
@ -176,7 +176,7 @@ nsFrameImageLoader::Init(nsIPresContext* aPresContext,
|
|||
}
|
||||
|
||||
// Start image load request
|
||||
char* cp = aURL.ToNewCString();
|
||||
char* cp = aURL.ToNewUTF8String();
|
||||
|
||||
|
||||
mImageRequest = aGroup->GetImage(cp, this, aBackgroundColor,
|
||||
|
|
Загрузка…
Ссылка в новой задаче