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

fixes #2040 Wrapped urlsplit call in a try-except block #2041

Merged
merged 3 commits into from
Jan 16, 2024
Merged

Conversation

edugonza
Copy link

@edugonza edugonza commented Jan 15, 2024

fixes #2040

to fall back to an external URL when the url cannot be split
@edugonza edugonza changed the title Refs Kozea/WeasyPrint#2040 Wrapped urlsplit call in a try-except block Refs #2040 Wrapped urlsplit call in a try-except block Jan 15, 2024
@edugonza edugonza changed the title Refs #2040 Wrapped urlsplit call in a try-except block fixes #2040 Wrapped urlsplit call in a try-except block Jan 15, 2024
@liZe
Copy link
Member

liZe commented Jan 16, 2024

Thanks a lot for the bug report and the pull request! I’ll clean a couple of details before merging.

@liZe liZe merged commit bf58cb3 into Kozea:main Jan 16, 2024
11 of 12 checks passed
@liZe liZe added the crash Problems preventing documents from being rendered label Jan 16, 2024
@liZe liZe added this to the 61.0 milestone Jan 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
crash Problems preventing documents from being rendered
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Malformed URL with a [ or ] character breaks conversion
2 participants