Wrong relative protocol
ArmorDarks opened this issue · 2 comments
ArmorDarks commented
Case:
urljoin('/', 'test')
becomes //test
, while expected to be /test
.
keskival commented
This pull request fixes that case as well. Although it is debatable whether that is a case that should be handled like that in url-join, because it is not an URL at all. But I think just simple paths should also be processed correctly.
jfromaniello commented
This has been fixed in v3.