-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Labels
Description
Our HTTP API is constrained by the "view as another user" feature and the "post -> request -> get (PRG)" best practice.
The file header.php allows the user to HTTP POST to any page in the site, and also issues redirects for any page in the site which handles POST data.
The following actions must be forbidden in any page before the inclusion of header.php:
- throwing errors due to unrecognized POST data
header.phprecognizes keys that specific pages do not
- discarding POST data
header.phpneeds to read POST data
- displaying content of any kind (this includes
UnityHTTPD::alert())- if
header.phpredireects, the user will not see any content displayed up until that point
- if
Hopefully a more elegant solution can be found and some of these constraints can be lifted.