Skip to content

Remove trailing slash from policy_host in auth host endpoint - #290

Open
shree-iyengar-dls wants to merge 5 commits into
mainfrom
trailing_slash_url
Open

Remove trailing slash from policy_host in auth host endpoint#290
shree-iyengar-dls wants to merge 5 commits into
mainfrom
trailing_slash_url

Conversation

@shree-iyengar-dls

Copy link
Copy Markdown
Contributor

Fixes #245

Used trim_end_matches('/') to remove any trailing slashes

@codecov

codecov Bot commented Aug 13, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 79.34%. Comparing base (fe48656) to head (9b8947a).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #290      +/-   ##
==========================================
+ Coverage   78.75%   79.34%   +0.59%     
==========================================
  Files          13       13              
  Lines        2057     2116      +59     
==========================================
+ Hits         1620     1679      +59     
  Misses        437      437              

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@shree-iyengar-dls shree-iyengar-dls changed the title Trailing slash url Remove trailing slash from policy_host in auth host endpoint Aug 13, 2026
tpoliaw
tpoliaw previously approved these changes Aug 13, 2026

@tpoliaw tpoliaw left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Is it worth trimming leading / on the policies as well?

Comment thread src/graphql/auth.rs Outdated
Co-authored-by: Peter Holloway <peter.holloway@diamond.ac.uk>
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.

Stop the trailing slash mattering in the configuration URLs

2 participants