Skip Menu |

This queue is for tickets about the Mojo CPAN distribution.

Report information
The Basics
Id: 43851
Status: resolved
Priority: 0/
Queue: Mojo

People
Owner: Nobody in particular
Requestors: sundial.services [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Error in Mojo::Message::Request
Date: Wed, 4 Mar 2009 14:21:20 -0600
To: "bug-Mojo [...] rt.cpan.org" <bug-Mojo [...] rt.cpan.org>
From: sundial <sundial.services [...] gmail.com>
My hosting company's Apache server, at least, populated REQUEST_URI (and not PATH_INFO) and this key is not considered.
Custom Apache configurations are tricky, not sure what do here.
Subject: Re: [rt.cpan.org #43851] Error in Mojo::Message::Request
Date: Fri, 6 Mar 2009 07:35:06 -0600
To: "bug-Mojo [...] rt.cpan.org" <bug-Mojo [...] rt.cpan.org>
From: sundial <sundial.services [...] gmail.com>
What worked for me: in Mojo/Message/Request.pm about line 184 add another "elsif": elsif ($name eq 'REQUEST_URI') { $self->url->parse($value); } Yeah, it's tricky. But this seems to work. On Mar 5, 2009, at 11:13 PM, "Sebastian Riedel via RT" <bug-Mojo@rt.cpan.org Show quoted text
> wrote:
Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=43851 > > > Custom Apache configurations are tricky, not sure what do here.
Yea, but the big question is what that change might break.
Subject: Re: [rt.cpan.org #43851] Error in Mojo::Message::Request
Date: Fri, 6 Mar 2009 09:45:34 -0600
To: "bug-Mojo [...] rt.cpan.org" <bug-Mojo [...] rt.cpan.org>
From: sundial <sundial.services [...] gmail.com>
I do not think that there will be a conflict although obviously if both $ENV variables did exist both would be processed and in random order. What I do know from my experience so-far (Apache2 on my box, 1&1 and GoDaddy) is that it works and is necessary. I do know also that my experience is far more limited than yours, and I respect that. On Mar 6, 2009, at 7:44 AM, "Sebastian Riedel via RT" <bug-Mojo@rt.cpan.org Show quoted text
> wrote:
Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=43851 > > > Yea, but the big question is what that change might break.
I'll try the change in the github repository for now, then we can see how it works for the testers.
Subject: Re: [rt.cpan.org #43851] Error in Mojo::Message::Request
Date: Fri, 6 Mar 2009 19:42:41 -0600
To: "bug-Mojo [...] rt.cpan.org" <bug-Mojo [...] rt.cpan.org>
From: sundial <sundial.services [...] gmail.com>
That sounds reasonable. Thanks. (BTW: Great product!) :-) On Mar 6, 2009, at 6:37 PM, "Sebastian Riedel via RT" <bug-Mojo@rt.cpan.org Show quoted text
> wrote:
Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=43851 > > > I'll try the change in the github repository for now, then we can > see how it works for the testers.
On Fri Mar 06 19:37:05 2009, SRI wrote: Show quoted text
> I'll try the change in the github repository for now, then we can see > how it works for the testers.
I am sincerely hoping that this patch can be accepted soon, and integrated into the product permanently, because I have found both that it "is consistently necessary" and that "it consistently works." As things stand now, each time I put this out ... onto any shared or private Apache server including my own ... URIs of the format used by my application simply do not work, until this change is made, and so-far I have seen no exceptions to that rune.
Accepted.