ronknight / InventorySystem

🖥️Create an open-source Inventory Management System using CodeIgniter web framework, Php and MySQL. Original source code from an Online Inventory Management Software found on https://codersfolder.com/2018/02/stock-management-system-v2-codeigniter/.
MIT License
341 stars 143 forks source link

Fix code scanning alert no. 14: Useless regular-expression character escape #55

Closed ronknight closed 1 day ago

ronknight commented 2 days ago

Fixes https://github.com/ronknight/InventorySystem/security/code-scanning/14

To fix the problem, we need to remove the unnecessary backslash from the regular expression. This will ensure that the regular expression is clear and does not contain any superfluous escape sequences. Specifically, we will change \. to . in the regular expression on line 4210.

Suggested fixes powered by Copilot Autofix. Review carefully before merging.