htmlpurifier uses deprecated get_magic_quotes_gpc
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 3.4k
- Forks
- 361
- Avg merge
- 3d 41m
- Merged PRs (30d)
- 2
Description
PHP 7.4 threw a deprecation error on one of my uses of get_magic_quotes_gpc(). When I searched the code to see where else it was used, I found it on library/HTMLPurifier/Config.php:806 (version 4.13.0).
I didn't get the error on HTMLPurifier, so this is just a courtesy notice.
Thank you
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
Open library/HTMLPurifier/Config.php around line 806 and inspect the use of get_magic_quotes_gpc(). Check the PHP 7.4 deprecation behavior and determine the supported replacement or compatibility handling. Done means the deprecated call is no longer used while the existing configuration behavior remains intact.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100