Commit Graph

8 Commits

Author SHA1 Message Date
Maurice den Braber
9f5b42b028 webui: Allow full search on devices page (#8364)
* Update devices.inc.php

* Update devices.inc.php

* Replace $_POST with $vars

Better protection for SQL injection attempts; Need to verify other files for same issue.

* Fixed whitespace.

*sigh*

* More search options & sql injection fixes.

+Allow full search on devices page;
+Allow sysName search on alertlog page;
+Allow sysName search on alerts page;
+Allow sysName search on eventlog page;
+Allow sysName search on poll-log page;
+Allow sysName search on ports page;

*Replaced all occurrences of $_POST with $vars in librenms/html/includes/table. ($vars are sanity-checked).

* Whitespace fix

* Fixed $where & $param

* Add files via upload

* Whitespaces....

Sometimes you want'em, sometimes you hate'em.
2018-03-25 21:50:09 +01:00
Tony Murray
8c639aa5a4 PSR2 Cleanup: /html edition
Travis tests for code conformance. Ignore warnings for now.
Fixed all errors, left most warnings.
2016-08-18 21:29:30 -05:00
Paul Gear
eb1dbc74c7 Remove redundant function 2016-01-02 07:10:43 +10:00
Paul Gear
ce880a6d23 Fix count & create device link in global MIB association table 2016-01-02 07:10:43 +10:00
Paul Gear
6fae9874b0 Add global MIB association table 2016-01-02 07:10:43 +10:00
Paul Gear
2244a5f31d Fix issues flagged by scrutinizer 2016-01-02 07:10:43 +10:00
Paul Gear
5d53761727 Trivial cleanups 2016-01-02 07:10:42 +10:00
Paul Gear
5c2231a7a7 Add device MIB association browser 2016-01-02 07:10:42 +10:00