Skip Menu |

This queue is for tickets about the jQuery-File-Upload CPAN distribution.

Report information
The Basics
Id: 85726
Status: open
Priority: 0/
Queue: jQuery-File-Upload

People
Owner: Nobody in particular
Requestors: RSAVAGE [...] cpan.org
Cc:
AdminCc:

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



Subject: Code uses $ENV{SCRIPT_URI} instead of $ENV{SCRIPT_NAME}
Hi The Subject says it all.... Note: Both $ENV{SCRIPT_URI} and $ENV{'SCRIPT_URI'} are used.
Can you elaborate on this issue? SCRIPT_URI works for me when I test it. Also, although I should maybe be consistent, there isn't really an issue using $ENV{'SCRIPT_URI'} and $ENV{SCRIPT_URI}, they both evaluate to the same thing. On Thu May 30 02:15:12 2013, RSAVAGE wrote: Show quoted text
> Hi > > The Subject says it all.... > > Note: Both $ENV{SCRIPT_URI} and $ENV{'SCRIPT_URI'} are used.
SCRIPT_NAME and SCRIPT_URI return two different things: SCRIPT_NAME=/test.cgi SCRIPT_URI=http://beta.test.com/test.cgi So my code wants to use the full url. Please tell me why this is an issue for you? On Thu May 30 02:15:12 2013, RSAVAGE wrote: Show quoted text
> Hi > > The Subject says it all.... > > Note: Both $ENV{SCRIPT_URI} and $ENV{'SCRIPT_URI'} are used.
Subject: Re: [rt.cpan.org #85726] Code uses $ENV{SCRIPT_URI} instead of $ENV{SCRIPT_NAME}
Date: Sat, 23 Nov 2013 11:09:21 +1100
To: bug-jQuery-File-Upload [...] rt.cpan.org
From: Ron Savage <ron [...] savage.net.au>
Hi Adam On 23/11/13 09:25, Adam Hopkins via RT wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=85726 > > > SCRIPT_NAME and SCRIPT_URI return two different things: > > SCRIPT_NAME=/test.cgi > SCRIPT_URI=http://beta.test.com/test.cgi > > So my code wants to use the full url. Please tell me why this is an issue for you?
I was drawing your attention to it, in case it was a typo. Just close the issue if you're happy. Show quoted text
> On Thu May 30 02:15:12 2013, RSAVAGE wrote:
>> Hi >> >> The Subject says it all.... >> >> Note: Both $ENV{SCRIPT_URI} and $ENV{'SCRIPT_URI'} are used.
> >
-- Ron Savage http://savage.net.au/
Hi Ron, Well do you believe that there is an issue with using SCRIPT_URI instead of SCRIPT_NAME? Did this cause any issues for you? Thanks, Adam On Fri Nov 22 19:09:40 2013, ron@savage.net.au wrote: Show quoted text
> Hi Adam > > On 23/11/13 09:25, Adam Hopkins via RT wrote:
> > <URL: https://rt.cpan.org/Ticket/Display.html?id=85726 > > > > > SCRIPT_NAME and SCRIPT_URI return two different things: > > > > SCRIPT_NAME=/test.cgi > > SCRIPT_URI=http://beta.test.com/test.cgi > > > > So my code wants to use the full url. Please tell me why this is an > > issue for you?
> > I was drawing your attention to it, in case it was a typo. > > Just close the issue if you're happy. >
> > On Thu May 30 02:15:12 2013, RSAVAGE wrote:
> >> Hi > >> > >> The Subject says it all.... > >> > >> Note: Both $ENV{SCRIPT_URI} and $ENV{'SCRIPT_URI'} are used.
> > > >
Subject: Re: [rt.cpan.org #85726] Code uses $ENV{SCRIPT_URI} instead of $ENV{SCRIPT_NAME}
Date: Wed, 27 Nov 2013 08:35:56 +1100
To: bug-jQuery-File-Upload [...] rt.cpan.org
From: Ron Savage <ron [...] savage.net.au>
HI Adam Nope, no issues caused. I though some web servers did not set $ENV{SCRIPT_URI}, in which case it would be a problem. On 26/11/13 18:06, Adam Hopkins via RT wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=85726 > > > Hi Ron, > > Well do you believe that there is an issue with using SCRIPT_URI instead of SCRIPT_NAME? Did this cause any issues for you? > > Thanks, > Adam > > On Fri Nov 22 19:09:40 2013, ron@savage.net.au wrote:
>> Hi Adam >> >> On 23/11/13 09:25, Adam Hopkins via RT wrote:
>>> <URL: https://rt.cpan.org/Ticket/Display.html?id=85726 > >>> >>> SCRIPT_NAME and SCRIPT_URI return two different things: >>> >>> SCRIPT_NAME=/test.cgi >>> SCRIPT_URI=http://beta.test.com/test.cgi >>> >>> So my code wants to use the full url. Please tell me why this is an >>> issue for you?
>> >> I was drawing your attention to it, in case it was a typo. >> >> Just close the issue if you're happy. >>
>>> On Thu May 30 02:15:12 2013, RSAVAGE wrote:
>>>> Hi >>>> >>>> The Subject says it all.... >>>> >>>> Note: Both $ENV{SCRIPT_URI} and $ENV{'SCRIPT_URI'} are used.
>>> >>>
> > >
-- Ron Savage http://savage.net.au/