[Catalyst] Spaces in urls

Harold Frayman harold at dominofilms.co.uk
Fri Feb 24 13:18:52 CET 2006


> On Thu, Feb 23, 2006 at 08:48:21AM -0000, Harold Frayman wrote:
>> I have just moved a developing app on to a production server which is
>> running up-to-date (among other things) Catalyst -- 5.64 against 5.55 on
>> my development machine. Suddenly the request->path contains %20 rather
>> than spaces in urls that have them -- which screws up all sorts of
>> things.
>> Could this be down to Catalyst and/or Cat helpers/plugins or should I be
>> looking elsewhere?
>
> Every change introduces at least two bugs. Every bugfix is a change.
>
> I screwed up on this one; fortunately somebody was kinda enough to not
> only fix it but add tests to ensure nobody makes the same silly mistake
> again; both are included in the latest release.
>
> --
>      Matt S Trout       Offering custom development, consultancy and

Maybe, given the original point which was to distinguish spaces from
explicit '%20' in urls, I shouldn't be asking for this; but with the
latest patch in place I still have a problem. Static:Simple sees a
req->path which includes the encodings and therefore reports (correctly,
under the circumstances) that it cannot find the file specified. Does the
patch need to be applied even earlier in the processing or shouldn't I be
asking?

Meanwhile, I've posted Trout's Law on the wall.

Harold



More information about the Catalyst mailing list