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

clean gives a 404 - suspect jobId with "/" character #307

Closed
remy opened this issue Aug 3, 2021 · 2 comments
Closed

clean gives a 404 - suspect jobId with "/" character #307

remy opened this issue Aug 3, 2021 · 2 comments

Comments

@remy
Copy link

remy commented Aug 3, 2021

I've got job names that include a slash character, such as user/234 and server/2 and when I try to clean tasks individually, it fails with a 404.

I suspect it's due to the slash character, but not sure where to start to confirm. Would this be a matter of escaping the jobId before using in the URL?

Example PUT request (note that my UI is on /q):

http://localhost:5555/q/api/queues/core-data/user/234/clean
@felixmosh
Copy link
Owner

felixmosh commented Aug 3, 2021

It can happen :]
I will be happy to review a PR for this

felixmosh added a commit that referenced this issue Aug 3, 2021
@felixmosh
Copy link
Owner

fix Released in v3.3.3

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