summaryrefslogtreecommitdiff
path: root/mux.go
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2023-04-22 20:38:25 +0200
committerxengineering <me@xengineering.eu>2023-04-28 10:44:19 +0200
commitfff3d70ba494214e434083c9d0e32f3def32138f (patch)
treeb26fd2753cea2653f465ded0a010768b69e263f4 /mux.go
parent205a36008672c7137e9190f243a9ba137d679e11 (diff)
downloadceres-fff3d70ba494214e434083c9d0e32f3def32138f.tar
ceres-fff3d70ba494214e434083c9d0e32f3def32138f.tar.zst
ceres-fff3d70ba494214e434083c9d0e32f3def32138f.zip
Verify JSON input
Without verification the text input is simply saved to the file. This is no problem for the recipe editing but since the json.Unmarshal functino will also fail on the index and recipe page this recipe will simply disappear from the web server while the file still exists on disk.
Diffstat (limited to 'mux.go')
0 files changed, 0 insertions, 0 deletions