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

Fix issue with scheme url starting with emoji #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

caiofct
Copy link
Collaborator

@caiofct caiofct commented Jan 24, 2024

Related issue

https://github.com/Loomly/calendy/issues/9712

Brief Summary of Issue

Schema urls are being truncated when there's an emoji right next to the beginning of the url without any spaces like:
👍https://www.loomly.com

Details about Solution Chosen

The fix here was basically some smaller changes to src/parser/uri-utils.ts to allow any character, including emojis, to start a schema url.

NOTE: I also opened gregjacobs#408 upstream so we should be good to go with the original library as soon as that one is merged.

NOTE 2: I've opened originally #1 and am using that in the calendy branch for now due to some build issues I've faced related to pupeteer and npm packages. But this new PR only have the necessary changes I did to make the fix work.

@caiofct caiofct requested a review from summera January 24, 2024 17:52
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

Successfully merging this pull request may close these issues.

1 participant