Improve addBaseUrl #190

Open
opened 2019-01-16 12:16:47 +00:00 by matthijskooijman · 0 comments
matthijskooijman commented 2019-01-16 12:16:47 +00:00 (Migrated from github.com)

addBaseUrl now works with a regex, which is prone to matching the wrong things. It would be better to properly traverse the DOM instead and also check out the relevant RFC to make sure we get all corner cases of handling relative urls right (see https://tools.ietf.org/html/rfc3986).

addBaseUrl now works with a regex, which is prone to matching the wrong things. It would be better to properly traverse the DOM instead and also check out the relevant RFC to make sure we get all corner cases of handling relative urls right (see https://tools.ietf.org/html/rfc3986).
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
harmen/hypha#190
No description provided.