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

Stack Overflow in Java regex with spaces in URLs while parsing large embedded image links #364

Closed
vsch opened this issue Sep 3, 2019 · 2 comments

Comments

@vsch
Copy link
Owner

vsch commented Sep 3, 2019

  • Stack overflow when parsing large embedded images with space in URL enabled.
@vsch
Copy link
Owner Author

vsch commented Sep 3, 2019

Now link urls starting with data:image/png;base64, do not allow spaces in the link. A kludge, but solves the problem for the moment.

@vsch
Copy link
Owner Author

vsch commented Sep 5, 2019

Fixed by implementing a non-regex parser for link destination URLs. Otherwise long non-image links would also cause stack overflow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant