Bug 19657 - External SVG images do not load if xlink:href is from different domain
Summary: External SVG images do not load if xlink:href is from different domain
Status: RESOLVED WORKSFORME
Alias: None
Product: WebKit
Classification: Unclassified
Component: SVG (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac (Intel) OS X 10.4
: P2 Normal
Assignee: Nobody
URL: http://www.carto.net/neumann/webkitsv...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-18 11:19 PDT by Andreas Neumann
Modified: 2011-05-25 12:13 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Neumann 2008-06-18 11:19:42 PDT
SVG images inside SVG files (<image/> element) seem only to work if the URL of the external image is from the same domain as the original SVG file.

However, files from other domains should work as well.

Thank you for having a look at this bug!
Comment 1 Eric Seidel (no email) 2008-07-03 21:51:56 PDT
This seems like overzelous security.  We should allow loading of .svg files from other domains when they are used as images.
Comment 2 Rob Buis 2010-05-28 00:08:35 PDT
Hello Andreas,

(In reply to comment #0)
> SVG images inside SVG files (<image/> element) seem only to work if the URL of the external image is from the same domain as the original SVG file.
> 
> However, files from other domains should work as well.
> 
> Thank you for having a look at this bug!

This seems to work nowadays, so we can probably close this bug?
Cheers,

Rob.
Comment 3 Rob Buis 2011-05-25 12:13:07 PDT
This works fine nowadays.
Cheers,

Rob.