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
Start at library/HTMLPurifier/Config.php:806 and inspect how get_magic_quotes_gpc() is used in the configuration flow. Check the PHP 7.4 deprecation behavior and existing compatibility patterns; done means the deprecated call is addressed without changing HTMLPurifier's configuration behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- security
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100