Skip to content

Commit

Permalink
SIVA-623 Disable Spring Boot /error endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
ivoMattus committed May 28, 2024
1 parent db494d7 commit 07ee92e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions siva-parent/siva-webapp/src/main/resources/application.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
spring.http.encoding.charset: UTF-8 # Charset of HTTP requests and responses. Added to the "Content-Type" header if not set explicitly.
spring.http.encoding.enabled: true # Enable http encoding support.
spring.http.encoding.force: true # Force the encoding to the configured charset on HTTP requests and responses.
spring.autoconfigure.exclude: org.springframework.boot.autoconfigure.web.servlet.error.ErrorMvcAutoConfiguration # Disable /error endpoint mapping and logging

siva:
http:
Expand Down
3 changes: 2 additions & 1 deletion siva-parent/siva-webapp/src/test/resources/application.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
spring.http.encoding.charset: UTF-8 # Charset of HTTP requests and responses. Added to the "Content-Type" header if not set explicitly.
spring.http.encoding.enabled: true # Enable http encoding support.
spring.http.encoding.force: true # Force the encoding to the configured charset on HTTP requests and responses.
spring.http.encoding.force: true # Force the encoding to the configured charset on HTTP requests and responses.
spring.autoconfigure.exclude: org.springframework.boot.autoconfigure.web.servlet.error.ErrorMvcAutoConfiguration # Disable /error endpoint mapping and logging

0 comments on commit 07ee92e

Please sign in to comment.