averyvery / Freebie

EE 2.0 extension for ignoring specific segments when routing
57 stars 8 forks source link

Freebie breaking ACT-calls #11

Closed StevenLangbroek closed 13 years ago

StevenLangbroek commented 13 years ago

Hey Doug,

I'm having some trouble that appears to be caused by Freebie: it causes ACT=xxxxx URL's to only function when uri_protocol is set to PATH_INFO, which isn't a possibility on one of the servers I'm developing a client-site for. According to EL this is because Freebie changes some core-behavior (this caused a major collision in SafeCracker in EE2.2)... Any way to fix this?

Thnx,

Steven

averyvery commented 13 years ago

Hi Steven,

Have to admit that I don't know anything about codeIgniter's uri_protocol or the SafeCracker issues.

Are you getting disallowed character errors? If so, you might try changing your permitted_uri_chars to include ? and =. Honestly, I don't know why Freebie triggers this trouble, since EE has no problem with query strings by default.

$config[‘permitted_uri_chars’] = ‘a-z 0-9~%.:_\\-&?=’;

If this isn't the issue, please let me know what I need to do to recreate it. For a fix, it might be possible to just check for ACT= at the start of the Freebie process, and abort if found — would you mind emailing me at dougunderscorenelson@gmail.com so I can send you a tweaked version of the software?

Thanks! Doug