-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
[Bug]: Invalid Domain name in URL to PDF crashes the website ui #1577
Comments
Hi @benni347 , I just did a test with your URL (.vip) and it worked without any problems. There may be a typo or your DNS doesn't recognize the page or your firewall is preventing it... |
Hi @Ludy87 I just pulled and built stirling locally on my development machine, after building it I tested it again with the url https://fjsdaklf.example.org I got I guess the same error. When I test it with a valid domain like https://example.org it works fine. The bug is probably in the fact that the error is not handled when an invalid url is parsed to I assume the error is being caused by these lines not catching any errors. Stirling-PDF/src/main/java/stirling/software/SPDF/controller/api/converters/ConvertWebsiteToPDF.java Lines 44 to 60 in cbe9226
Stack Log
|
May I work on this issue if it hasn't been addressed yet? @Frooodle |
Certainly |
The Problem
When giving the "URL To PDF" an invalid domain name like https://fjsdaklf.example.org it crashes the website ui.

Version of Stirling-PDF
0.26.1
Last Working Version of Stirling-PDF
No response
Page Where the Problem Occurred
/url-to-pdf
Docker Configuration
No response
Relevant Log Output
The text was updated successfully, but these errors were encountered: