Page MenuHomePhorge

isSelfURI: fix anchors and relative URIs (that are "self" indeed)
ClosedPublic

Authored by valerio.bozzolan on Mar 9 2024, 22:30.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Jul 25, 08:21
Unknown Object (File)
Sun, Jul 21, 17:00
Unknown Object (File)
Sat, Jul 20, 18:01
Unknown Object (File)
Fri, Jul 19, 06:01
Unknown Object (File)
Mon, Jul 15, 08:41
Unknown Object (File)
Mon, Jul 15, 08:11
Unknown Object (File)
Mon, Jul 15, 03:28
Unknown Object (File)
Mon, Jul 15, 01:29

Details

Summary

Example cases that were wrongly considered external URLs:

  • "#foo"
  • "/foo"

Note that Phorge usually does not change stable things. In fact this thing
was not documented even inline, and was not even in the unit tests.

So this is a fix, and not a breaking change. Probably no one had ever tried it.

Closes T15182

Test Plan

The already existing unit tests still work.

The added ones make sense.

There are no problems doing other random things.

Diff Detail

Repository
rP Phorge
Lint
Lint Not Applicable
Unit
Tests Not Applicable