Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(InternalTab): Fix for urls with trailing slash and no locale #2897

Merged
merged 1 commit into from
May 28, 2024

Conversation

tvdeyen
Copy link
Member

@tvdeyen tvdeyen commented May 27, 2024

What is this pull request for?

The former regexp was ignoring the second slash in urls
without locale but with trailing slash, since it was not part
of the locale group and optional. Using a non match group
for the optional locale and it's optional slash.

Checklist

  • I have followed Pull Request guidelines
  • I have added a detailed description into each commit message
  • I have added tests to cover this change

The former regexp was ignoring the second slash in urls
without locale but with trailing slash, since it was not part
of the locale group and optional. Using a non match group
for the optional locale and it's optional slash.

Co-authored-by: Martin Meyerhoff <mamhoff@gmail.com>
Co-authored-by: ChatGPT <chat@openai.com>
Copy link

codecov bot commented May 27, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.96%. Comparing base (7fec21c) to head (8ce686e).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2897   +/-   ##
=======================================
  Coverage   95.96%   95.96%           
=======================================
  Files         230      230           
  Lines        6269     6269           
=======================================
  Hits         6016     6016           
  Misses        253      253           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@tvdeyen tvdeyen marked this pull request as ready for review May 27, 2024 16:12
@tvdeyen tvdeyen requested a review from a team as a code owner May 27, 2024 16:12
@tvdeyen tvdeyen merged commit e4b295d into main May 28, 2024
36 of 37 checks passed
@tvdeyen tvdeyen deleted the fix-internal-tab-regexp branch May 28, 2024 07:41
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