Bug 19657
| Summary: | External SVG images do not load if xlink:href is from different domain | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Andreas Neumann <a.neumann> |
| Component: | SVG | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED WORKSFORME | ||
| Severity: | Normal | CC: | rwlbuis, sam |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | Mac (Intel) | ||
| OS: | OS X 10.4 | ||
| URL: | http://www.carto.net/neumann/webkitsvgbugs/changeUrlOfExternalSVG.svg | ||
Andreas Neumann
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!
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Eric Seidel (no email)
This seems like overzelous security. We should allow loading of .svg files from other domains when they are used as images.
Rob Buis
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.
Rob Buis
This works fine nowadays.
Cheers,
Rob.