ezyang / ezyang/htmlpurifier

file URI scheme

Open
#145 3 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

I am trying to put file:// in an tag but it keeps clearing it out.
I am using purifier to generate XML documents with valid html for a description, the img tags reference locally downloaded files as file://imgage.jpg
What is wrong here?

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 by reproducing the reported behavior with an tag whose source uses a file:// URI, then trace how HTMLPurifier handles that URI scheme. The issue does not name a file or test; done should be defined as an agreed behavior for local file references and a corresponding regression check.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.