mnakada / atomcam_tools

Hack tool for atomcam and wyzecam.
Other
178 stars 22 forks source link

Incorrect Media Type #72

Closed admtan closed 1 year ago

admtan commented 1 year ago

Firstly, I want to thank you for providing this valuable software. I noticed a minor issue and wanted to create an issue for it.

In hack_ini.cgi and cmd.cgi, the Content-Type specified seems to be incorrect. The current code indicates plain/text, but according to the RFC definition, it should be top-level type/subtype. For plain text, the correct format is text/plain. So, the string output by the echo command should be Content-Type: text/plain.

While this might not cause any issues when using only the Web UI and not directly accessing CGI, I kindly suggest fixing it as a precaution.

Thank you.

mnakada commented 1 year ago

Thank you very much. You are right, it is a mistake. I'll fix it in the next UPDATE.

mnakada commented 1 year ago

I have corrected it in Ver. 1.5.14.

admtan commented 1 year ago

Thank you to fix!