sentry-cli icon indicating copy to clipboard operation
sentry-cli copied to clipboard

Normalize URLs before warning about mismatched URL

Open szokeasaurusrex opened this issue 1 year ago • 0 comments

If the token-embedded and user-provided URLs only differ by a trailing slash, we should not warn about a mismatched URL.

Let's normalize the URLs before comparing.

Update: discussed with the team. The behavior will likely stay the same in the Sentry Wizard for now due to backwards-compatibility concerns, but we can improve the logic for comparing the URLs in the Sentry CLI. In the meantime, you can safely ignore this warning.

Originally posted by @szokeasaurusrex in #2137

szokeasaurusrex avatar Dec 12 '24 12:12 szokeasaurusrex