Skip to content

WIP: (#622): Base Fragment on AllowedUrl instead of plain string

Tristram Gräbener requested to merge Tristramg/librsvg:issue_622 into master

Hello,

This is my first take at #622 (closed) just to be sure I’m not headed in a completely wrong direction.

This first small step makes that a Fragment is no longer based on a plain string for the uri part, but on AllowedUrl.

That means that if it is set, it is a valid Url. This required changes on tests scattered arround, where it was like foo#bar, foo not being a valid uri, it required changing it to http://foo.

Is this the desired behaviour? Isn’t there a risk to break things where foo#bar might have been valid?

Merge request reports