yahoo / yahoo/serialize-javascript

Is escaping '>' necessary?

Open
#26 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
2.9k
Forks
215
Avg merge
1d 12h
Merged PRs (30d)
2

Description

I am wondering if you cannot save a few cycles and bytes by not escaping >. As far as I can tell, is has no influence on <script> termination?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no files or tests. Start by tracing how serialize-javascript currently escapes the > character and compare serialized output with and without that escape, while checking whether script-termination safety changes. Done means the security behavior is established and the proposed output change has clear maintainer agreement and coverage.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
security
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.