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 ruby 3 bug for the download method #13

Merged
merged 1 commit into from
May 15, 2024
Merged

Fix ruby 3 bug for the download method #13

merged 1 commit into from
May 15, 2024

Conversation

benjamin-ltr
Copy link
Contributor

@benjamin-ltr benjamin-ltr commented May 15, 2024

the URI#unescape method does not exists anymore on ruby 3.
I used the #decode_www_form_component method instead to replace '%20'-like characters.

Fix bug #12

the `URI#unescape` method does not exists anymore on ruby 3.
I used the `#decode_www_form_component` method instead to replace %20
like characters.
@benjamin-ltr
Copy link
Contributor Author

benjamin-ltr commented May 15, 2024

Run the unit tests on ruby 3.2 without the fix:

Screenshot 2024-05-15 at 09 00 36

And with the fix:

Screenshot 2024-05-15 at 09 00 54

@maztch
Copy link
Contributor

maztch commented May 15, 2024

Thank you for your help!

@maztch maztch merged commit a22eaa1 into ilovepdf:master May 15, 2024
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