Commit Graph

7 Commits (cf9577a40edd7c3f8bebcf02aaccb7ef441e7dac)

Author SHA1 Message Date
OpenGnSys Support Team 62b52ff364 src: update license header 2024-11-28 16:45:56 +01:00
OpenGnSys Support Team cb9edc8d95 ogClient is AGPLv3+
Update license header in files.
2021-05-14 00:19:28 +02:00
OpenGnSys Support Team f86999da0c add space after Content-Length and Content-Type
ogAdmServer needs this space to work fine.
2020-01-28 09:14:13 +01:00
Roberto Hueso Gómez 9890d60300 Fix /shell/run commands splitting
This patch splits shell commands either with ';' or '\n'.
2020-01-21 17:32:48 +01:00
Roberto Hueso Gómez 65a5c95cc2 Add test for sequential /shell/run requests
This also fixes test bugs in the cases:
- Malformed json
- No json
2020-01-19 20:18:14 +01:00
Alvaro Neira Ayuso 05b1088827 Include License header 2020-01-19 19:50:44 +01:00
Roberto Hueso Gómez df98db2c3c Add /shell/run tests
These tests cover:
- Correct request with echo
- Correct request without echo
- No json request
- Malformed json request
2020-01-19 19:50:44 +01:00