Backed out until the patch is tested. Sorry for not building with it.b=377049

This commit is contained in:
asqueella@gmail.com 2007-04-25 14:10:54 -07:00
Родитель 14f52e2d45
Коммит 3f0777184e
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -246,7 +246,7 @@ nsBaseURLParser::ParsePath(const char *path, PRInt32 pathLen,
const char *query_beg = 0, *query_end = 0;
const char *ref_beg = 0;
const char *p = 0;
for (p = path; p < path + pathLen; ++p)
for (p = path; *p; ++p) {
// only match the query string if it precedes the reference fragment
if (!ref_beg && !query_beg && *p == '?')
query_beg = p + 1;