New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Opencast Eats +
flavour characters in some cases
#2777
Comments
Link back to Google Groups discussion. |
This is an escaping problem. Some endpoints directly handle the request object some let the Java libraries do it. In the latter cases, you need to URL encode all form fields even when using |
This appears to be happening in the returned data from Opencast, rather than the incoming requests. It's likely still a escaping issue though. |
Well if the incoming request is parsed incorrectly the returned data is wrong. You can debug this: e.g. set a break point here and you will see that |
Describe the bug
Ingesting to Opencast should be something you can do more or less in any order:
This does work, as long as you don't have a flavour containing a
+
character. In that case the file(s) containing the + must go last, or else the+
characters are replaced with spaces in the flavours. Media files don't seem to affect this, which makes me suspect it's something in the catalog ingest handling codeI noted this behaviour during the Zoom ingest development, and Lukas Germscheid reported it on list as well.
To Reproduce
Steps to reproduce the behavior:
security/xacml+episode
dublincore/episode
Looking at the commit (not public yet), my notes say:
which makes me suspect that it's something related to content types and in the catalog ingest bits.
Environment Information
The text was updated successfully, but these errors were encountered: