Skip Menu |

This queue is for tickets about the PSGI CPAN distribution.

Report information
The Basics
Id: 85594
Status: resolved
Priority: 0/
Queue: PSGI

People
Owner: Nobody in particular
Requestors: vajda [...] iit.bme.hu
Cc:
AdminCc:

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



Subject: REMOTE_*
Date: Fri, 24 May 2013 15:24:48 +0200
To: bug-PSGI [...] rt.cpan.org
From: "Dr. Ferenc Vajda" <vajda [...] iit.bme.hu>
Hi, I am not quite sure if this is a "real" bug in the specification, however, in documentation of PSGI.pm there are no words about REMOTE_* environment variables (REMOTE_ADDR, REMOTE_HOST, REMOTE_PORT). On the other hand, PSGI::FAQ writes: "...For instance, PSGI defines |$env->{REMOTE_ADDR}| as a string..." Regards, Ferenc Vajda ------------------------------------------------------------------------ Dr. Ferenc Vajda, Associate Professor Department of Control Engineering and Information Technology Budapest University of Technology and Economics Tel/Fax: +36-1-463-2089/+36-1-463-2204 Web: http://www.iit.bme.hu/~vajda/ <http://www.iit.bme.hu/%7Evajda/>
Download bme.gif
image/gif 1.7k
bme.gif
Subject: Re: [rt.cpan.org #85594] REMOTE_*
Date: Fri, 24 May 2013 11:06:02 -0700
To: bug-PSGI [...] rt.cpan.org
From: Tatsuhiko Miyagawa <miyagawa [...] gmail.com>
It is implicitly covered in the "CGI variables" in the next sentence: A server should attempt to provide as many other CGI variables as are applicable. On Fri, May 24, 2013 at 6:25 AM, Dr. Ferenc Vajda via RT < bug-PSGI@rt.cpan.org> wrote: Show quoted text
> Fri May 24 09:25:13 2013: Request 85594 was acted upon. > Transaction: Ticket created by vajda@iit.bme.hu > Queue: PSGI > Subject: REMOTE_* > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: vajda@iit.bme.hu > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=85594 > > > > > Hi, > > I am not quite sure if this is a "real" bug in the specification, > however, in documentation of PSGI.pm there are no words about REMOTE_* > environment variables (REMOTE_ADDR, REMOTE_HOST, REMOTE_PORT). On the > other hand, PSGI::FAQ writes: > > "...For instance, PSGI defines |$env->{REMOTE_ADDR}| as a string..." > > Regards, > Ferenc Vajda > > ------------------------------------------------------------------------ > Dr. Ferenc Vajda, Associate Professor > Department of Control Engineering and Information Technology > Budapest University of Technology and Economics > Tel/Fax: +36-1-463-2089/+36-1-463-2204 > Web: http://www.iit.bme.hu/~vajda/ <http://www.iit.bme.hu/%7Evajda/> > > > > > Hi, > > I am not quite sure if this is a "real" bug in the specification, however, > in documentation of PSGI.pm there are no words about REMOTE_* environment > variables (REMOTE_ADDR, REMOTE_HOST, REMOTE_PORT). On the other hand, > PSGI::FAQ writes: > > "...For instance, PSGI defines $env->{REMOTE_ADDR} as a string..." > > Regards, > Ferenc Vajda > > ------------------------------ > Dr. Ferenc Vajda, Associate Professor > Department of Control Engineering and Information Technology > Budapest University of Technology and Economics > Tel/Fax: +36-1-463-2089/+36-1-463-2204 > Web: http://www.iit.bme.hu/~vajda/ > >
-- Tatsuhiko Miyagawa
Subject: Re: [rt.cpan.org #85594] REMOTE_*
Date: Fri, 24 May 2013 22:14:01 +0200
To: bug-PSGI [...] rt.cpan.org
From: "Dr. Vajda Ferenc" <vajda [...] iit.bme.hu>
Thanks for your answer. I understand it, but this means, that a developer cannot be sure to have a REMOTE_ADDR variable, because it is only a "SHOULD" case (I know that most - if not all - servers implement it, but still). Right? Regards, Feri 2013.05.24. 20:06 keltezéssel, miyagawa@gmail.com via RT írta: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=85594 > > > It is implicitly covered in the "CGI variables" in the next sentence: > > A server should attempt to provide as many other CGI variables as are > applicable. > > > > > On Fri, May 24, 2013 at 6:25 AM, Dr. Ferenc Vajda via RT < > bug-PSGI@rt.cpan.org> wrote: >
>> Fri May 24 09:25:13 2013: Request 85594 was acted upon. >> Transaction: Ticket created by vajda@iit.bme.hu >> Queue: PSGI >> Subject: REMOTE_* >> Broken in: (no value) >> Severity: (no value) >> Owner: Nobody >> Requestors: vajda@iit.bme.hu >> Status: new >> Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=85594 > >> >> >> >> Hi, >> >> I am not quite sure if this is a "real" bug in the specification, >> however, in documentation of PSGI.pm there are no words about REMOTE_* >> environment variables (REMOTE_ADDR, REMOTE_HOST, REMOTE_PORT). On the >> other hand, PSGI::FAQ writes: >> >> "...For instance, PSGI defines |$env->{REMOTE_ADDR}| as a string..." >> >> Regards, >> Ferenc Vajda >> >> ------------------------------------------------------------------------ >> Dr. Ferenc Vajda, Associate Professor >> Department of Control Engineering and Information Technology >> Budapest University of Technology and Economics >> Tel/Fax: +36-1-463-2089/+36-1-463-2204 >> Web: http://www.iit.bme.hu/~vajda/ <http://www.iit.bme.hu/%7Evajda/> >> >> >> >> >> Hi, >> >> I am not quite sure if this is a "real" bug in the specification, however, >> in documentation of PSGI.pm there are no words about REMOTE_* environment >> variables (REMOTE_ADDR, REMOTE_HOST, REMOTE_PORT). On the other hand, >> PSGI::FAQ writes: >> >> "...For instance, PSGI defines $env->{REMOTE_ADDR} as a string..." >> >> Regards, >> Ferenc Vajda >> >> ------------------------------ >> Dr. Ferenc Vajda, Associate Professor >> Department of Control Engineering and Information Technology >> Budapest University of Technology and Economics >> Tel/Fax: +36-1-463-2089/+36-1-463-2204 >> Web: http://www.iit.bme.hu/~vajda/ >> >>
>
------------------------------------------------------------------------ Dr. Vajda Ferenc, egyetemi docens Irányítástechnika és Informatika Tanszék Budapesti Műszaki és Gazdaságtudományi Egyetem Tel/Fax: +36-1-463-2089/+36-1-463-2204 Web: http://www.iit.bme.hu/~vajda/
Download bme.gif
image/gif 1.7k
bme.gif
Subject: Re: [rt.cpan.org #85594] REMOTE_*
Date: Fri, 24 May 2013 13:15:02 -0700
To: bug-PSGI [...] rt.cpan.org
From: Tatsuhiko Miyagawa <miyagawa [...] gmail.com>
Correct. On Fri, May 24, 2013 at 1:14 PM, Dr. Ferenc Vajda via RT < bug-PSGI@rt.cpan.org> wrote: Show quoted text
> Queue: PSGI > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=85594 > > > > Thanks for your answer. I understand it, but this means, that a > developer cannot be sure to have a REMOTE_ADDR variable, because it is > only a "SHOULD" case (I know that most - if not all - servers implement > it, but still). Right? > > Regards, > Feri > > 2013.05.24. 20:06 keltezéssel, miyagawa@gmail.com via RT írta:
> > <URL: https://rt.cpan.org/Ticket/Display.html?id=85594 > > > > > It is implicitly covered in the "CGI variables" in the next sentence: > > > > A server should attempt to provide as many other CGI variables as
> are
> > applicable. > > > > > > > > > > On Fri, May 24, 2013 at 6:25 AM, Dr. Ferenc Vajda via RT < > > bug-PSGI@rt.cpan.org> wrote: > >
> >> Fri May 24 09:25:13 2013: Request 85594 was acted upon. > >> Transaction: Ticket created by vajda@iit.bme.hu > >> Queue: PSGI > >> Subject: REMOTE_* > >> Broken in: (no value) > >> Severity: (no value) > >> Owner: Nobody > >> Requestors: vajda@iit.bme.hu > >> Status: new > >> Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=85594 > > >> > >> > >> > >> Hi, > >> > >> I am not quite sure if this is a "real" bug in the specification, > >> however, in documentation of PSGI.pm there are no words about REMOTE_* > >> environment variables (REMOTE_ADDR, REMOTE_HOST, REMOTE_PORT). On the > >> other hand, PSGI::FAQ writes: > >> > >> "...For instance, PSGI defines |$env->{REMOTE_ADDR}| as a string..." > >> > >> Regards, > >> Ferenc Vajda > >> > >> ------------------------------------------------------------------------ > >> Dr. Ferenc Vajda, Associate Professor > >> Department of Control Engineering and Information Technology > >> Budapest University of Technology and Economics > >> Tel/Fax: +36-1-463-2089/+36-1-463-2204 > >> Web: http://www.iit.bme.hu/~vajda/ <http://www.iit.bme.hu/%7Evajda/> > >> > >> > >> > >> > >> Hi, > >> > >> I am not quite sure if this is a "real" bug in the specification,
> however,
> >> in documentation of PSGI.pm there are no words about REMOTE_*
> environment
> >> variables (REMOTE_ADDR, REMOTE_HOST, REMOTE_PORT). On the other hand, > >> PSGI::FAQ writes: > >> > >> "...For instance, PSGI defines $env->{REMOTE_ADDR} as a string..." > >> > >> Regards, > >> Ferenc Vajda > >> > >> ------------------------------ > >> Dr. Ferenc Vajda, Associate Professor > >> Department of Control Engineering and Information Technology > >> Budapest University of Technology and Economics > >> Tel/Fax: +36-1-463-2089/+36-1-463-2204 > >> Web: http://www.iit.bme.hu/~vajda/ > >> > >>
> >
> > > ------------------------------------------------------------------------ > Dr. Vajda Ferenc, egyetemi docens > Irányítástechnika és Informatika Tanszék > Budapesti Műszaki és Gazdaságtudományi Egyetem > Tel/Fax: +36-1-463-2089/+36-1-463-2204 > Web: http://www.iit.bme.hu/~vajda/ > > > > > Thanks for your answer. I understand it, but this means, that a developer > cannot be sure to have a REMOTE_ADDR variable, because it is only a > "SHOULD" case (I know that most - if not all - servers implement it, but > still). Right? > > Regards, > Feri > > 2013.05.24. 20:06 keltezéssel, miyagawa@gmail.com via RT írta: > > <URL: https://rt.cpan.org/Ticket/Display.html?id=85594 > > > It is implicitly covered in the "CGI variables" in the next sentence: > > A server should attempt to provide as many other CGI variables as are > applicable. > > > > > On Fri, May 24, 2013 at 6:25 AM, Dr. Ferenc Vajda via RT <bug-PSGI@rt.cpan.org> wrote: > > > Fri May 24 09:25:13 2013: Request 85594 was acted upon. > Transaction: Ticket created by vajda@iit.bme.hu > Queue: PSGI > Subject: REMOTE_* > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: vajda@iit.bme.hu > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=85594 > > > > > Hi, > > I am not quite sure if this is a "real" bug in the specification, > however, in documentation of PSGI.pm there are no words about REMOTE_* > environment variables (REMOTE_ADDR, REMOTE_HOST, REMOTE_PORT). On the > other hand, PSGI::FAQ writes: > > "...For instance, PSGI defines |$env->{REMOTE_ADDR}| as a string..." > > Regards, > Ferenc Vajda > > ------------------------------------------------------------------------ > Dr. Ferenc Vajda, Associate Professor > Department of Control Engineering and Information Technology > Budapest University of Technology and Economics > Tel/Fax: +36-1-463-2089/+36-1-463-2204 > Web: http://www.iit.bme.hu/~vajda/ <http://www.iit.bme.hu/%7Evajda/> <http://www.iit.bme.hu/%7Evajda/> > > > > > Hi, > > I am not quite sure if this is a "real" bug in the specification, however, > in documentation of PSGI.pm there are no words about REMOTE_* environment > variables (REMOTE_ADDR, REMOTE_HOST, REMOTE_PORT). On the other hand, > PSGI::FAQ writes: > > "...For instance, PSGI defines $env->{REMOTE_ADDR} as a string..." > > Regards, > Ferenc Vajda > > ------------------------------ > Dr. Ferenc Vajda, Associate Professor > Department of Control Engineering and Information Technology > Budapest University of Technology and Economics > Tel/Fax: +36-1-463-2089/+36-1-463-2204 > Web: http://www.iit.bme.hu/~vajda/ > > > > ------------------------------ > Dr. Vajda Ferenc, egyetemi docens > Irányítástechnika és Informatika Tanszék > Budapesti Műszaki és Gazdaságtudományi Egyetem > Tel/Fax: +36-1-463-2089/+36-1-463-2204 > Web: http://www.iit.bme.hu/~vajda/ > >
-- Tatsuhiko Miyagawa