- From: SWD Issue Tracker <dean+cgi@w3.org>
- Date: Tue, 17 Jul 2007 12:12:39 +0000 (GMT)
- To: public-swd-wg@w3.org
ISSUE-58: .htaccess 'accept header' ONLY responds to a header which EXACTLY matches "application/rdf+xml"
http://www.w3.org/2006/07/SWD/track/issues/58
Raised by: Jon Phipps
On product: Recipes
Per Tim BL
"The recipe for responding to an accept header only responds to a header which
EXACTLY matches "application/rdf+xml". However, a client may send (and often
will) a header with many comma-separated values, and they may have quality
parameters (q=0.xx).
This is a serious problem as people are copying the recipe, and making sites
which do not work."
This applies to Recipes 3, 4, 5 and references this part of the .htaccess Apache
configuration:
"...
# Rewrite rule to serve RDF/XML content if requested
RewriteCond %{HTTP_ACCEPT} application/rdf\+xml
..."
The rewrite condition regular expression: "application/rdf\+xml"
needs to be rewritten
Received on Tuesday, 17 July 2007 12:12:41 UTC