Closed vipulnsward closed 2 months ago
This update enhances the URL sanitization mechanism in the akamai_generator
by introducing a method to escape delimiters, and expands testing for URL generation involving file groups. Additionally, a change is documented in the CHANGELOG.md
addressing an issue with ~
in URL paths.
Files/Paths | Change Summary |
---|---|
lib/uploadcare/signed_url_generators/akamai_generator.rb | Added sanitized_delimiter_path method to sanitize delimiter paths by replacing tildes with hexadecimal representation. |
spec/uploadcare/signed_url_generators/akamai_generator_spec.rb | Added new contexts to test URL generation for groups and nth file type notation within groups. |
CHANGELOG.md | Documented the functionality change addressing an issue with signed URLs containing ~ and improved handling of grouped file URLs. |
In code we trust, beneath the sky so bright, URLs signed anew, with paths set right. No tilde shall obscure our way, As hexadecimal paves paths clear as day. 🐇✨ Logic refined, let the tests take flight!
Description
Fix that Signed urls did not work with nth notation for groups as well as when using ~ in URLs Closes #167 #138
Checklist
Summary by CodeRabbit
Bug Fixes
~
correctly.New Features