Closed jkeck closed 8 years ago
there are issues in practice, possibly due to not deploying new dependencies for the plugin
SAR-3198 asks for help in figuring out how to deploy the guava and commons-validator jars.
See #30 for jar deployment work
SAR-3198 has been taken care of (thanks @kamchan ); this fix has been deployed to -stage. Perhaps the only thing that remains is for @jmartin-sul to affirm that media files with spaces and pluses in the file names work???
Seems to be an improvement. Closing in favor of sul-dlss/sul-embed#578.
(for reference, see: https://consul.stanford.edu/display/chimera/Character+set+constraints+for+SDR+file+names )
The path segment of a URI should not have their spaces encoded as a
+
(and use a%20
instead) since rfc3986 does not indicate that+
should be handled in any special way (other than literally as a+
). This is unlike URL query parameters which specifies that spaces are to be replaced by+
.We should change the file name portion of the
verify_token
request to encode spaces as%20
and not+
which will be handled by the verification code properly.