W3C home > Mailing lists > Public > semantic-web@w3.org > April 2014

RE: Apple Safari Bug with Hash-based Identitifiers?

From: Markus Lanthaler <markus.lanthaler@gmx.net>
Date: Mon, 14 Apr 2014 19:21:01 +0200
To: <martin.hepp@ebusiness-unibw.org>, <semantic-web@w3.org>, <public-lod@w3.org>
Message-ID: <023501cf5805$efea3c60$cfbeb520$@lanthaler@gmx.net>
On Monday, April 14, 2014 6:51 PM, martin.hepp@ebusiness-unibw.org wrote:
> I just found a strange bug (?) in Safari (under various Apple OS X
> versions) that can cause problems with purl.org-based Semantic Web
> ontologies:
> If you click on the link of a URI reference that includes a hash
> fragment, like
>     http://purl.org/goodrelations/v1#DayOfWeek
> then Apple Safari resolves this to
>     http://www.heppnetz.de/ontologies/goodrelations/v1

Yeah, this is a very old bug: https://bugs.webkit.org/show_bug.cgi?id=24175 

> I am not sure which behavior is standards-compliant, but from a user's
> perspective, Chrome is much better in here if you have many hash-based
> identifiers in an HTML document.

This behavior was underspecified in RFC2616 (see also [1]). It has been
clarified in httpbis [2] which should obsolete RFC2616 shortly:

  "If the Location value provided in a 3xx (Redirection) does not have a
   fragment component, a user agent MUST process the redirection as if
   the value inherits the fragment component of the URI reference used
   to generate the request target (i.e., the redirection inherits the
   original reference's fragment, if any)."


[1] http://www.w3.org/Protocols/HTTP/Fragment/draft-bos-http-redirect-00.txt

Markus Lanthaler
Received on Monday, 14 April 2014 17:21:46 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 08:45:37 UTC