Skip to content

Conversation

@alexsanford
Copy link
Contributor

Fixes #1771

Adds a special case when it creates a class for the slug. If it has all non-latin characters, it would previously return an empty string and fail. Now it creates a slug using a hex representation of the characters if the string would otherwise be empty.

Also needed to force a UTF-8 encoding when parsing the theme's style.css to get the information. This was a fun bug to track down... 🙃

@coveralls
Copy link

coveralls commented Nov 2, 2023

Coverage Status

coverage: 85.966%. remained the same
when pulling de4f65e on fix/non-latin-character-slugs
into bce3b48 on master.

@alexsanford alexsanford merged commit 96b6b81 into master Nov 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

error when run wpscan

4 participants