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

New user Payload supposed to be safe? #3

Open
bt-nia opened this issue May 14, 2021 · 2 comments
Open

New user Payload supposed to be safe? #3

bt-nia opened this issue May 14, 2021 · 2 comments

Comments

@bt-nia
Copy link

bt-nia commented May 14, 2021

Hi!

I can't make the example payload (which references docs/spel.xml) - or an other payload that works via the upload API - work with the /users backend path. Looking at the code, I can't seem to find what the issue is. Does mapping the object into a JSON string and only then reading it disable the actual deserialization of the object?
What am I missing?

@JavanXD
Copy link
Owner

JavanXD commented May 17, 2021

Hey, the example payload should work. Maybe you are not using a windows machine or your java backend does have not enough permissions to run calc.exe. Maybe you can run it as administrator?

@bt-nia
Copy link
Author

bt-nia commented May 17, 2021

Indeed, I do not have a Windows machine (backend is served via a Linux Docker container). I can get the payload to work via the upload, but not via the user creation endpoint. It does not seem to react to the json payload (example or mine) at all. Even non-sense inputs don't return errors. I can see the requests go towards the backend endpoint, but the answers are "clean".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants