Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

feat: escape all </script> that appears inside source #388

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

Merged
merged 1 commit into from
Aug 5, 2022

Conversation

icelam
Copy link
Owner

@icelam icelam commented Aug 4, 2022

Description

Fixing issue #387 where any "</script>" string that appears inside source breaks webpage if not escaped.

How has this been tested?

  1. Created a minimum webpack config and sources which contains more than 1 "</script>" string, located at __tests__/cases/escape-script-end-tag
    a. this is tested by running webpack in Jest
    b. Open the build files produced after running webpack in browser, check and make sure there is no script error

Types of changes

  • New feature - feat
  • Bug fix - fix
  • Refactor - refactor
  • Test cases - test
  • Other(s):

Remarks

N/A

@icelam icelam marked this pull request as ready for review August 5, 2022 03:49
@icelam icelam merged commit 019a41d into develop Aug 5, 2022
@icelam icelam deleted the escape-script-end-tag branch August 5, 2022 03:49
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
Morty Proxy This is a proxified and sanitized view of the page, visit original site.