Skip to content
This repository has been archived by the owner on Feb 5, 2025. It is now read-only.

Fix issue with scheme url starting with emoji #2

Closed
wants to merge 1 commit into from

Conversation

caiofct
Copy link

@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
@caiofct caiofct closed this Dec 17, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant