trailing slashes in registryUrl
group inside replaceString are stripped
#34566
Unanswered
muja
asked this question in
Request Help
Replies: 1 comment
-
this is an issue with our join url parts util. maybe we should update it to preserve trailing slashes |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How are you running Renovate?
Self-hosted Renovate
If you're self-hosting Renovate, tell us which platform (GitHub, GitLab, etc) and which version of Renovate.
irrelevant, but: BitBucket Server, renovate version 39.182.5
Please tell us more about your question or problem
When using a custom datasource with a regex matcher like the following where the registryUrl is inside the replaceString:
and this line in the Containerfile:
the trailing slash will be deleted in the HTTP request. In this case, this is a problem because the website does not work without a trailing slash and in general, this should be classified as a bug since in HTTP protocol, the path is arbitrary, even though it is not conventional.
I was able to workaround it by adding a
#
, even though that is not very niceLogs (if relevant)
Logs
Beta Was this translation helpful? Give feedback.
All reactions