Closed jNullj closed 11 months ago
Name | Link |
---|---|
Latest commit | 1073234ca9ed3336bda7cb0c397e1734997795f7 |
Latest deploy log | https://app.netlify.com/sites/docusaurus-openapi/deploys/64fa0b3a2bd125000975916c |
Deploy Preview | https://deploy-preview-261--docusaurus-openapi.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
Ping @bourdakos1
This commit fixes an issue where utf-16 encoded surrogated pair could crash the page when inserted as input. The commit adds
endsWithHalfSurrogatePair
to check for half pair andsafeEncodeURIComponent
to ignore half surrogated pair before passing it toencodeURIComponent
.I replaced
encodeURIComponent
withsafeEncodeURIComponent
to solve the bug. I run lint, testing and and cypress and everything seems ok. I also tested before/after changes by hand to make sure the bug is solved.Fixes #260