That way, frameworks that use URL parameters in the upload endpoint can specify a regex upload URI. The example parameterized URL from the issue is /users/{userId}/files/upload. This then corresponds to the regex upload URI: /users/[0-9]+/files/upload.
Coverage increased (+0.03%) to 96.533% when pulling b5b0caeca7c66661dfe02c55643cf08317a370ba on feature/upload-URI-regex-support into 25feaa5661f69bfe93e06230ccbc7754093973fd on master.
In order to solve issue https://github.com/tomdesair/tus-java-server/issues/11, I've updated the code so that the upload URI is considered as a regex. This is a backwards compatible change.
That way, frameworks that use URL parameters in the upload endpoint can specify a regex upload URI. The example parameterized URL from the issue is
/users/{userId}/files/upload
. This then corresponds to the regex upload URI:/users/[0-9]+/files/upload
.