Bug #7549
closed
- Subject changed from Mising flag for Réunion to Missing flag for Réunion
- To be discussed changed from No to Yes
Now I get 500 when accessing the RE flag resource, before it was 404.
A peek to Apache error log at mentat-hub
confirms this.
Same on mentat-alt
, returns 500.
A quick analysis shows that the error is somewhat deeper as the web fails with 404 sometimes, which is expected as the file is missing, but with 500 other times. This was confirmed on both production and testing and also by Rajmund Hruška.
The icon file is indeed missing. The 500 error is due to the fact, that default flask error handling is customized to be nicer for user. However when serving static files it would be better to just return plain HTTP HEAD 404 with no content. Trying to return personalized error page. Because it was a request for static file, there is no user identity and customized error page cannot be rendered anyway.
I'll take this one, if I may.
- To be discussed changed from Yes to No
- Status changed from New to In Progress
- Priority changed from Low to Normal
- % Done changed from 0 to 20
- Target version changed from Backlog to 2.10
- Status changed from In Progress to Closed
Also available in: Atom
PDF