Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
apollo-99-trunk-20120827.123709-100
Description
add_user_header currently adds or overwrites the specified header if the corresponding principal exists. If the principal is not present, it does nothing.
This opens for forgeries since the sent message may contain a header with the same name and, if the principal is missing, Apollo will leave it there. By examining the message, there is no way to know if the header has been set by the sender or by Apollo.
IMHO it would be safer for Apollo to remove the header in case the corresponding principal is not present.