This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 4895 - Whitespace is not valid in a URI, even if that URI contains embedded base64-encoded data.
Summary: Whitespace is not valid in a URI, even if that URI contains embedded base64-e...
Status: RESOLVED FIXED
Alias: None
Product: SVG
Classification: Unclassified
Component: Conformance Criteria (show other bugs)
Version: SVG 1.1 Full
Hardware: All All
: P2 normal
Target Milestone: Test Suite
Assignee: Doug Schepers
QA Contact: SVG Public List
URL: http://www.w3.org/Graphics/SVG/Test/2...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-30 19:56 UTC by Robert Longson
Modified: 2009-01-08 04:43 UTC (History)
0 users

See Also:


Attachments
testcase without whitespace in href (5.64 KB, text/plain)
2007-07-30 19:58 UTC, Robert Longson
Details

Description Robert Longson 2007-07-30 19:56:38 UTC
extraneous whitespace is not valid in base64 encoding (see http://tools.ietf.org/html/rfc2397 or more specifically http://tools.ietf.org/html/rfc2396 and https://bugzilla.mozilla.org/show_bug.cgi?id=390126), thus it is legitimate for browsers to refuse to display the image in the testcase although many do.

It would be best if the whitespace was simply removed from the href to avoid such issues.
Comment 1 Robert Longson 2007-07-30 19:58:41 UTC
Created attachment 481 [details]
testcase without whitespace in href
Comment 2 Cameron McCormack 2009-01-08 03:12:45 UTC
This also applies to coords-viewattr-02-b.svg, filters-blend-01-b.svg and 
struct-image-04-t.svg.
Comment 3 Cameron McCormack 2009-01-08 03:14:30 UTC
(In reply to comment #2)
> This also applies to coords-viewattr-02-b.svg, filters-blend-01-b.svg and 
> struct-image-04-t.svg.

Of course filters-blend-01-b.svg is the one the OP mentions.

The corresponding tests in the 1.2T test suite also have whitespace in the data: URIs.