phpmyadmin / error-reporting-server

phpMyAdmin server side component for the error reporting system
MIT License
19 stars 28 forks source link

Change Create's headers to application/json and add nosniff header #126

Closed devenbansod closed 7 years ago

devenbansod commented 8 years ago

Fixes #125 Testing required, my local setup is not behaving well (even before this change)

Signed-off-by: Deven Bansod devenbansod.bits@gmail.com

nijel commented 8 years ago

I think it's correct, on the other side, similar code probably should be applied to more places (eg. the json method just below), so maybe it's better to do it somehow generic...

nijel commented 7 years ago

Thanks, I've merged this as is to have at least partial fix.