[microformats-discuss] funness -> validator

Robert Bachmann rbach at rbach.priv.at
Tue Aug 16 17:22:45 PDT 2005


brian suda wrote:
> I'm not sure what the deal with that site is, (i suspect something with
> mod_rewrite) because if you use this URL: (http://zooibaai.nl/about/)
> with the trailing '/' it works just fine. The same problem occurs with
> the hCard and is unique to that site!
> 
This site has some evil bug ;-)

Going to http://zooibaai.nl/about/ will give you "HTTP/1.1 200 OK"
and the content of the page.

Going to http://zooibaai.nl/about will give you "HTTP/1.1 404 Not Found"
but still the same content.

You can try it yourself with netcat or telnet.

$ netcat zooibaai.nl 80
    GET http://zooibaai.nl/about/ HTTP/1.1
    Host: zooibaai.nl

    HTTP/1.1 200 OK
    Date: Wed, 17 Aug 2005 00:14:05 GMT
    Server: Apache/2.0.50 (Fedora)
    X-Powered-By: PHP/4.3.8
    X-Pingback: http://zooibaai.nl/xmlrpc.php
    Transfer-Encoding: chunked
    Content-Type: text/html; charset=utf-8

    [Content snipped]

$ netcat zooibaai.nl 80
    GET http://zooibaai.nl/about HTTP/1.1
    Host: zooibaai.nl

    HTTP/1.1 404 Not Found
    Date: Wed, 17 Aug 2005 00:09:49 GMT
    Server: Apache/2.0.50 (Fedora)
    Content-Location: about.php
    Vary: negotiate
    TCN: choice
    X-Powered-By: PHP/4.3.8
    Transfer-Encoding: chunked
    Content-Type: text/html; charset=utf-8

    [Content snipped]


Robert
-- 
Robert Bachmann <rbach at rbach.priv.at> (OpenPGP KeyID: 0x4A5CCF10)


More information about the microformats-discuss mailing list