You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@baremaps.apache.org by "Perdjesk (via GitHub)" <gi...@apache.org> on 2023/06/29 07:24:32 UTC

[GitHub] [incubator-baremaps] Perdjesk opened a new issue, #713: Prevent information exposure through a stack trace

Perdjesk opened a new issue, #713:
URL: https://github.com/apache/incubator-baremaps/issues/713

   Server response must never include details about the error and stacktrace.
   
   https://github.com/apache/incubator-baremaps/pull/712#discussion_r1245594310_
   
   
   
   Before example:
   ```
   Response.status(Response.Status.BAD_REQUEST).entity(e.getMessage()).build();
   ```
   
   After example:
   ```
   log.warn(e.getMessage());
   Response.status(Response.Status.BAD_REQUEST).build();
   ```
   
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@baremaps.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-baremaps] bchapuis closed issue #713: Prevent information exposure through a stack trace

Posted by "bchapuis (via GitHub)" <gi...@apache.org>.
bchapuis closed issue #713: Prevent information exposure through a stack trace 
URL: https://github.com/apache/incubator-baremaps/issues/713


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@baremaps.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org