This repository is a minimal example integrating Fastly with Spring boot, runnable locally with Docker compose.
It highlights a bug probably due to the usage of multiple @RequestParam
in the same controller method.
- Java 17 (works with Java 11 too, just modify the pom and the Docker image configuration).
- Recent docker
- Create an
.env
file at the root of this directory to set your SIGSI secrets, it should look like:
SIGSCI_SECRETACCESSKEY="setme"
SIGSCI_ACCESSKEYID="setme"
- Run
make deploy-app
to run the sample application with the filter activated. - In another terminal run
make send-request
and observe the failure - To compare the behavior without the filter, run
make deploy-app-no-rasp
, you can runmake send-request
to observe the request completing without any issue.
NOTE: the issue is currently fixed @HEAD thanks to the activation of the multipartParsingEnabled
parameter, see
https://github.com/PierreBtz/spring-fastly-multipart-bug/commit/8d5179ab0e31052ee8ab5b7fc41d7b25a5a20c9c