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

Panics when slicing within char boundaries #5

Open
samuelfekete opened this issue Sep 14, 2021 · 0 comments
Open

Panics when slicing within char boundaries #5

samuelfekete opened this issue Sep 14, 2021 · 0 comments

Comments

@samuelfekete
Copy link

The parser can panic if it tries to slice a string within char boundaries.

thread '<unnamed>' panicked at 'byte index 58198 is not a char boundary; it is inside '\u{a0}'
...
/root/.cargo/registry/src/github.com-1ecc6299db9ec823/robotstxt-0.3.0/src/parser.rs:169:57
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

No branches or pull requests

1 participant