Skip to content
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

Episode xacml flavour does not render correctly at Opencast's end #60

Open
gregorydlogan opened this issue Mar 19, 2021 · 2 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@gregorydlogan
Copy link
Member

Currently we're ingesting security/xacml+episode, which renders as security/xacml episode at Opencast's end. Escaping it with %2b does not work.

@gregorydlogan gregorydlogan added the bug Something isn't working label Mar 19, 2021
@gregorydlogan gregorydlogan self-assigned this Mar 19, 2021
@gregorydlogan
Copy link
Member Author

This is worked around with cfc412e

This appears to be related to the order in which ingests are done. If you
ingest files such that a call to _do_post occurs without files containing
something after you ingest a file containing a '+' character in its flavour
you will see it magically disappear the + from the next post. The major issue
debugging this is that this only disappears after the post is sent. It is
not visible from the Python side, but it shows up in the debugger in Java.

I suspect this is the requests_toolbelt setting an incorrect content type,
since '+' renders as ' ' depending on the content type. Further debugging required.

@gregorydlogan
Copy link
Member Author

Filed upstream as opencast/opencast#2777

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant