Skip to content

Use urljoin to prevent issue with trailing slash in SMP URL#17

Merged
arj03 merged 1 commit intoiterasdev:masterfrom
raphaelm:trailing-slash
Dec 9, 2025
Merged

Use urljoin to prevent issue with trailing slash in SMP URL#17
arj03 merged 1 commit intoiterasdev:masterfrom
raphaelm:trailing-slash

Conversation

@raphaelm
Copy link
Copy Markdown
Collaborator

@raphaelm raphaelm commented Dec 5, 2025

Problem observed in production:

404 Client Error: Not Found for url: http://peppol.traffiqx.net//iso6523-actorid-upis::0204:991-xxxxx

I solved it with urljoin and ./. Using / seems dangerous if there are actually subpath-based SMPs and nothing in front failed because urljoin then considers iso6523-actorid-upis:: to be an URL scheme`

@arj03 arj03 merged commit eec8c55 into iterasdev:master Dec 9, 2025
2 checks passed
@arj03
Copy link
Copy Markdown
Collaborator

arj03 commented Dec 9, 2025

Thanks :)

@raphaelm raphaelm deleted the trailing-slash branch December 9, 2025 09:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants