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

URLEncode project names passed to commands #533

Open
sempervictus opened this issue Feb 13, 2021 · 2 comments
Open

URLEncode project names passed to commands #533

sempervictus opened this issue Feb 13, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@sempervictus
Copy link

Is your feature request related to a problem? Please describe.
When a job has spaces in its name, jcli cannot reference it appropriately even when quoted:

jcli job history 'ArchLinux Public Package Builder'
Error: not found resources

The reference does pass when pre-encoded by the user as jcli job history ArchLinux%20Public%20Package%20Builder

Describe the solution you'd like
Rewriting spaces and special chars to comply with URL encoding inline by the client should address the issue transparently

@sempervictus sempervictus added the enhancement New feature or request label Feb 13, 2021
@yJunS
Copy link
Member

yJunS commented Feb 14, 2021

@sempervictus You can try jcli job history "/job/ArchLinux Public Package Builder"

@yJunS
Copy link
Member

yJunS commented Feb 14, 2021

If your item's name has space, use /job/[item name] can query

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

No branches or pull requests

2 participants