Bug #12151
NullPointerException when redirecting after adding a comment
Start date:
04/03/2016
Due date:
% Done:
0%
Estimated time:
Description
I need to check for the "Referer" header parameter when determining how to redirect the response after a comment/entry are added or edited. Looking at the code it seems obvious, but in three years I haven't seen this error. Is there a browser out there not sending the "Referer" header any longer? Or perhaps are they sending it with the propper spelling of "Referer" after twenty years of http spelling it wrong?
Related issues
History
#1 Updated by Kyle Hazelwood almost 5 years ago
- Category set to Server
- Status changed from New to Assigned
- Assignee set to Kyle Hazelwood
This was caused by Beau trying out a new elog shift change comment app. He is not using a browser so the header is not being populated by default. I need to check for this.
#2 Updated by Kyle Hazelwood almost 5 years ago
- Related to Bug #12030: Slow refresh added
#3 Updated by Kyle Hazelwood about 4 years ago
- Status changed from Assigned to Remission
- Target version set to Version 1.0
#4 Updated by Kyle Hazelwood about 4 years ago
- Status changed from Remission to Resolved
I no longer use the refer header for redirect.
#5 Updated by Kyle Hazelwood about 4 years ago
- Status changed from Resolved to Closed