You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed that there are some typos in sanitizeCore.php - I am too lazy to create a pull request.
line 96 - 'sstr_replace' and 'tr_replace' are used instead of 'str_replace'
also I suspect in line 95 maybe you meant filestodownload instead of upload?
best regards
The text was updated successfully, but these errors were encountered:
-v2.6.
-Improve sanitization per Issue #4.
-Github user @robre pointed out some typos in sanitizeCore.php, specifically lines 95 & line 96 from v2.4.
-These bugs mean to me that I need to review more of this code.
-Thank you, @robre!
You are absolutely correct! I'm sorry for these mistakes and I appreciate you bringing my attention to them. I am away from my desk at the moment, but I've fixed the code in question in commit 8e67e32. Specifically lines 95 & 96 of sanitizeCore.php. I will make time in the very near future to do a thorough review of this code. Thanks again.
Because you took the time to report an issue (and a very concise correction for it), and in accordance with the HonestRepair Alternative Licensing Policy; please enjoy a BSD 3-Clause License for HRConvert2 for life. Thanks for contributing to HonestRepair open-source software!
I'll leave this issue open for a couple days as a reference for other users.
I noticed that there are some typos in sanitizeCore.php - I am too lazy to create a pull request.
line 96 - 'sstr_replace' and 'tr_replace' are used instead of 'str_replace'
also I suspect in line 95 maybe you meant filestodownload instead of upload?
best regards
The text was updated successfully, but these errors were encountered: