iframe does not contain src attribute
Open
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 3.4k
- Forks
- 361
- Avg merge
- 3d 41m
- Merged PRs (30d)
- 2
Description
Purify seems to get rid of the src attribute when using iframes. Not sure why.
I'm using HTML.SafeIFrame, tried different URI.safeIframeRegexp and in HTML.allowed I have iframe[src].
Any ideas?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the reported iframe case with HTML.SafeIFrame, the configured URI.safeIframeRegexp, and HTML.allowed set to iframe[src]. Compare the input and purified output to identify why src is removed; done when an allowed iframe retains its src while unsafe values remain filtered.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- security
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100