While debugging a web application on Firefox web browser, I was surprised to see an SQL Database Query string showing up in the web-console log under Local-Storage sub-category autoSavedSql_xxxx. How is this even possible? Wrong echo at the PHP back-end? It even has the database-name and the search value! Any pointers to why this is happening will be highly appreciated - I don't think it is normal behavior to be doing this.
The backed uses PHP 7.2, MariaDB 10, on Rocky Linux 8; the front is on the usual mix plus jQuery. No other frameworks. Shown string:
SELECT * from 'real-table-name' WHRE Column-name = 'real-search-value';
I was not expecting to see these database search details on a web-console like this.