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)

2.23
x86
Windows XP
defect
Not set
normal

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?
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).
Sorry not using a browser. Using perl's lwp GET command from command line. From a cron script
(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.
(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
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);
dupe of bug 15809 ?
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.