ezyang / ezyang/htmlpurifier

HTML Entity

Open
#206 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
3.4k
Forks
361
Avg merge
3d 41m
Merged PRs (30d)
2

Description

Hi @ezyang ,

I am trying to purify html character entities e.g. < however in latest version v4.10.0, it encounters an error. The error is from the entityParser as key 4 is not set:

https://github.com/ezyang/htmlpurifier/blob/d85d39da4576a6934b72480be6978fb10c860021/library/HTMLPurifier/EntityParser.php#L121

I see this has now been corrected in master. Please could you let me know ehn this will be released to a new version?

https://github.com/ezyang/htmlpurifier/blob/a93250f251350e306494af1ac3678d2cd36861d7/library/HTMLPurifier/EntityParser.php#L121

Regards
Vinny

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

Start with library/HTMLPurifier/EntityParser.php at the linked line and compare the v4.10.0 commit with the master version linked in the issue. Confirm whether the master correction has been included in a released version; the issue is done when users can obtain that correction through a release.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
security
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.