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:
andreas.otte%primus-online.de 2001-08-29 21:39:21 +00:00
Родитель 9b55a3e274
Коммит 46aac94d9d
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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());