Closed
Bug 332235
Opened 19 years ago
Closed 19 years ago
getting "500 Line too long limit is 4096" when requesting bug list
Categories
(Bugzilla :: Query/Bug List, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 290977
People
(Reporter: bugzilla, Unassigned)
References
()
Details
when I do:
GET 'http://bugzilla.mozilla.org/buglist.cgi?bug_status=NEW&email2=bugzilla%40gemal.dk&emailtype2=substring&emailreporter2=1'
I'm getting:
"500 Line too long (4131; limit is 4096)"
does bugzilla violate the http rdf spec?
Comment 1•19 years ago
|
||
The URL you provided works fine for me. What browser are you using?
It could be a cookie header, too (provided by your browser - it's complaining about the headers your browser is sending).
| Reporter | ||
Comment 2•19 years ago
|
||
Sorry not using a browser. Using perl's lwp GET command from command line. From a cron script
Comment 3•19 years ago
|
||
(In reply to comment #2)
> Using perl's lwp GET command from command line.
Ah, cool, which means it probably wouldn't be hard to get a trace of the headers you're sending.
| Reporter | ||
Comment 4•19 years ago
|
||
(In reply to comment #3)
> (In reply to comment #2)
> > Using perl's lwp GET command from command line.
>
> Ah, cool, which means it probably wouldn't be hard to get a trace of the
> headers you're sending.
>
none. The problem is the buglist.cgi returns a header with:
Set-Cookie: BUGLIST
and the the list of bugs. and that list is more than 4096 chars long.
so this bug is about if it's ok to use a set cookie with more than 4096 chars
Comment 5•19 years ago
|
||
Yes, that's okay. The RFC doesn't set any limit on it.
The error you're getting is actually from LWP (which is why it's working fine in other browsers).
Try adding this to your script:
push(@LWP::Protocol::https::EXTRA_SOCK_OPTS, MaxLineLength => 16*1024);
Comment 7•19 years ago
|
||
Same problem as in bug 290977 about IE and its 2083 characters limit.
*** This bug has been marked as a duplicate of 290977 ***
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•