Ticket #253 (new defect)

Opened 4 months ago

detect.php - Detect "corruption" of query string by mod_encoding

Reported by: http://openid.jamus.com/ Assigned to:
Priority: minor Milestone:
Keywords: Cc:
Project: php-openid OpenID Protocol: All versions
Series: 2.x.x Web Browser: Safari

Description

The mod_encoding module "corrupts" the query string by translating %xx in the query sring to the character representation.

For example, for the URL http://foo.com?a=a%26b, the QUERY_STRING should be a=a%26b, but with mod_encoding enabled, QUERY_STRING is a=a&b. This corruption prevents the library from working correctly.

Attached is a simple patch to detect.php to detect this. I hope to save somebody else time tracking this down.

mod_encoding was enabled by my webhost (dreamhost.com) when I enabled web_dav for the domain.

Attachments

detect.patch.txt (1.3 kB) - added by http://openid.jamus.com/ on 06/07/08 22:27:36.

Change History

06/07/08 22:27:36 changed by http://openid.jamus.com/

  • attachment detect.patch.txt added.