script element with xlink:href referencing local serving context changed to file://
Summary:
script element with xlink:href referencing local serving context changed to file://
Steps to reproduce:
- open Inkscape with document containing an script element such as:
<script xlink:href="/scripts/dodgyNoddyScript.js" id="NoddyScript" type="text/javascript" />
What happened?
The element is adjusted to this:
<script xlink:href="file:///scripts/dodgyNoddyScript.js" id="NoddyScript" type="text/javascript" />
What should have happened?
The element should not be touched, changed.
Leave as:
<script xlink:href="/scripts/dodgyNoddyScript.js" id="NoddyScript" type="text/javascript" />
- Version
- Inkscape Version: 1.0.1 (3bc2e813, 2020-09-07)
- Operating System: Win10
- Operating System version: Most up to date.