зеркало из https://github.com/mozilla/pjs.git
fix bug 85500 [Mozilla includes # anchors in GET URI in some cases] we were searching the first # from the right not the left to cut of the ref part of the requested uri. r=darin sr=rpotts a=dbaron
This commit is contained in:
Родитель
9b55a3e274
Коммит
46aac94d9d
|
@ -312,7 +312,7 @@ nsHttpChannel::SetupTransaction()
|
|||
requestURI = mSpec.get();
|
||||
|
||||
// trim off the #ref portion if any...
|
||||
char *p = PL_strrchr(requestURI, '#');
|
||||
char *p = PL_strchr(requestURI, '#');
|
||||
if (p) *p = 0;
|
||||
|
||||
mRequestHead.SetVersion(nsHttpHandler::get()->DefaultVersion());
|
||||
|
|
Загрузка…
Ссылка в новой задаче