W3C home > Mailing lists > Public > public-xg-webid@w3.org > January 2012

Re: Reminder: Never send fragid with HTTP GET (Was: fixed https://foafssl.org/test/WebId_

From: Jürgen Jakobitsch <j.jakobitsch@semantic-web.at>
Date: Fri, 06 Jan 2012 15:14:13 +0100 (CET)
To: Henry Story <henry.story@bblfish.net>
Cc: "public-xg-webid@w3.org XG" <public-xg-webid@w3.org>, Tim Berners-Lee <timbl@w3.org>, Ivan Herman <ivan@w3.org>
Message-ID: <ea2a62c7-0a70-4738-afdd-64b3a9508704@zcs>

the tested uri is http://2sea.org/sea.jsp#j with "j".

wkr j

----- Original Message -----
From: "Henry Story" <henry.story@bblfish.net>
To: "Ivan Herman" <ivan@w3.org>
Cc: "Jürgen Jakobitsch" <j.jakobitsch@semantic-web.at>, "public-xg-webid@w3.org XG" <public-xg-webid@w3.org>, "Tim Berners-Lee" <timbl@w3.org>
Sent: Friday, January 6, 2012 2:49:56 PM
Subject: Re: Reminder: Never send fragid with HTTP GET (Was: fixed https://foafssl.org/test/WebId_

Hi Ivan,

   I think your RDFa Distiller and Parser sends fragment identifiers along if they are entered into the 
box in 

	http://www.w3.org/2007/08/pyRdfa/

This has caused some confusion to me and others on the WebID mailing list, because we often deal
with URLs with hashes. So in this case I was trying to verify 

	http://2sea.org/sea.jsp#i 

which led to an empty graph. It would be easy to fix that I think.

	Henry

On 6 Jan 2012, at 14:31, Tim Berners-Lee wrote:

> 
> (On 2012-01 -05, at 19:04, Henry Story wrote:
> 
>> 1. do a GET on the URL with #i
>> 
>> --------------------------8<----------------------------8<----------------------------
>> hjs@bblfish[0]$ telnet 2sea.org 80
>> Trying 46.228.199.61...
>> Connected to 2sea.org.
>> Escape character is '^]'.
>> GET http://2sea.org/sea.jsp#i HTTP/1.1
> 
> 
> That is a violation of the URI and HTTP specs.
> Never send the hash over HTTP.
> <foo#bar> means "Whatever is referred to a as <#bar> in <foo>".
> You must strip off the # and everything after it to retrieve <foo>.
> Just don't do it.
> 
> Tim)

Social Web Architect
http://bblfish.net/


-- 
| Jürgen Jakobitsch, 
| Software Developer
| Semantic Web Company GmbH
| Mariahilfer Straße 70 / Neubaugasse 1, Top 8
| A - 1070 Wien, Austria
| Mob +43 676 62 12 710 | Fax +43.1.402 12 35 - 22

COMPANY INFORMATION
| http://www.semantic-web.at/

PERSONAL INFORMATION
| web   : http://www.turnguard.com
| foaf  : http://www.turnguard.com/turnguard
| skype : jakobitsch-punkt
Received on Friday, 6 January 2012 14:14:45 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 6 January 2012 14:14:45 GMT