#168 Abort OpenId responses with headers over 8kb
Merged by puiterwijk. Opened by puiterwijk.
puiterwijk/ipsilon ticket-238  into  master

Download 168.patch

They will not be able to be returned through Apache, and if we don't
error this way, Apache will log obscure things.

This will happen if a user for example has 3 16KB SSH keys (live
example seen), and they are all requested.
OpenID 2.0 wants to encode the entire response in an HTTP Location
header, but when Apache sees this in the headers, it thinks we
made a mistake, and aborts the response.

Ticket: #238
Signed-off-by: Patrick Uiterwijk puiterwijk@redhat.com

Save the len() to a variable, to save re-dump()ing the headers on line 12?

rebased

Cheers, +1

Commit 53de85a4 fixes this pull-request

Pull-Request has been merged by puiterwijk@redhat.com

Metadata