W3C home > Mailing lists > Public > www-validator@w3.org > June 2006

Re: I think this is a bug

From: Carlos Alberto Pérez Muñoz <carlos.a.perez.m@gmail.com>
Date: Thu, 8 Jun 2006 01:22:58 -0400
Message-ID: <c28a1e830606072222q4be7b786ifd059c74226856d8@mail.gmail.com>
To: "Anthony Ettinger" <aettinger@sdsualumni.org>
Cc: "olivier Thereaux" <ot@w3.org>, www-validator@w3.org
In the test I have done, with IExplorer (yucks), I get an error thet the
referer was not sent or found so I made the Javascript that handles the page
sending.

When you tell me why bother, as I stated in my initial report, What will
hapen is somebody copies the given text (incomplete) into the browser, sends
the requisition, and then my page (some of them) will NOT work?

On 6/8/06, Anthony Ettinger <aettinger@sdsualumni.org> wrote:
>
> i'm guess you have to url encode the $ParaProg var in javascript...
>
> why bother with this anyway? add this to your footer if you want to
> show you're w3c compliant html:
>
>
> <a href="http://validator.w3.org/check?uri=referer"><img
> src="http://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0!"
> height="31" width="88"></a>
>
>
>
>
> On 6/7/06, Carlos Alberto Pérez Muñoz <carlos.a.perez.m@gmail.com> wrote:
> > By the way this is my own site which I'm trying to make W3C compliant.
> >
> > The uri is sent by clicking on the XHTML image within the page.
> >
> > this is the associated code in php:
> >
> > echo "    function ValidXHTML( ) {\n";
> > echo "        window.open( '
> > http://validator.w3.org/check?uri=http:// " . $_SERVER[
> > 'SERVER_NAME' ] . $_SERVER[ 'SCRIPT_NAME' ] . "?$ParaProg', 'XHTML',
> > 'location=1,menubar=1,resizable=1,scrollbars=1,status=1,toolbar=1'
> > );\n";
> >  echo "    }\n";
> >
> > which then translated into html becomes:
> > function ValidXHTML( ) {
> >  window.open( '
> >
> >
> >
> http://validator.w3.org/check?uri=http://carlosccna.no-ip.org/SpecialFeatures/ContactForm.php?Debug=Off&End=End
> ',
> > 'XHTML',
> > 'location=1,menubar=1,resizable=1,scrollbars=1,status=1,toolbar=1'
> > );
> >
> >
> >
> > }
> >
> > Please notice that $ParaProg turns into Debug=Off&End=End
> >
> > I use this kind of parameters a lot in my programming to pass data from
> one
> > page to another that is why I wondered what happened to the &End=End
> >
> > Waiting for your feedback.
> >
> >
> > On 6/8/06, olivier Thereaux <ot@w3.org> wrote:
> > > Hello Carlos,
> > >
> > > On 8 Jun 2006, at 10:13, Carlos Alberto Pérez Muñoz wrote:
> > >
> > > >
> > http://validator.w3.org/check?uri=http://carlosccna.no-ip.org/
> > > > SpecialFeatures/ContactForm.php?Debug=Off&End=End
> > >
> > > Where did you get that URI?
> > > If you want to validate
> > >
> > http://carlosccna..no-ip.org/SpecialFeatures/ContactForm.php
> > ?
> > > Debug=Off&End=End
> > > then the validation address is
> > >
> > http://validator.w3.org/check?uri=http%3A%2F%2Fcarlosccna.no-ip.org%
> > >
> > 2FSpecialFeatures%2FContactForm.php%3FDebug%3DOff%26End%3DEnd
> > > (which is what you'll get when pasting the address into the validator
> > > form field)
> > >
> > > If you send this to the validator:
> > >
> > http://validator.w3.org/check?uri=http://carlosccna.no-ip.org/
> > > SpecialFeatures/ContactForm.php?Debug=Off&End=End
> > > it will consider, rightfully so, the &End=End as a parameter for the
> > > validator.
> > >
> > > --
> > > olivier
> > >
> > >
> > >
> > >
> >
> >
> >
> > --
> > Carlos A. Pérez M.
> > --------------------------------------------------
> > Programación de Páginas Web
> > Especializado en Php, Javascript y MySql.
> > --------------------------------------------------
> > Web Sites Programming
> > Php, Javascripts & MySql Specialized
>
>
> --
> Anthony Ettinger
> Signature: http://chovy.dyndns.org/hcard.html
>



-- 
Carlos A. Pérez M.
--------------------------------------------------
Programación de Páginas Web
Especializado en Php, Javascript y MySql.
--------------------------------------------------
Web Sites Programming
Php, Javascripts & MySql Specialized
Received on Thursday, 8 June 2006 05:23:09 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:22 GMT