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

Sanitize provided ARL templates #218

Merged
merged 1 commit into from
Oct 27, 2023

Conversation

rbikar
Copy link
Member

@rbikar rbikar commented Oct 26, 2023

ARL templates are extracted from environment variable which can in practice easily include some trailing whitespace characters. Unstripped ARLs with trailing whitechars are not accepted by the FastPurge API resulting in 4xx errors.

@codecov
Copy link

codecov bot commented Oct 26, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (02a744f) 96.89% compared to head (4d0af5b) 96.89%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #218   +/-   ##
=======================================
  Coverage   96.89%   96.89%           
=======================================
  Files           8        8           
  Lines         997      997           
=======================================
  Hits          966      966           
  Misses         31       31           
Files Coverage Δ
ubipop/_cdn.py 98.74% <100.00%> (ø)

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

ARL templates are extracted from environment variable which can in
practice easily include some trailing whitespace characters. Unstripped
ARLs with trailing whitechars are not accepted by the FastPurge API
resulting in 4xx errors.
@rbikar rbikar marked this pull request as ready for review October 26, 2023 13:10
@rbikar rbikar requested review from jm-wk and rohanpm as code owners October 26, 2023 13:10
@rbikar
Copy link
Member Author

rbikar commented Oct 26, 2023

ok to test

@rbikar rbikar merged commit 12301dc into release-engineering:master Oct 27, 2023
7 checks passed
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.

3 participants