`glab mr new -w` does not escape spaces
Created by: bodqhrohro
Description My default browser (LuaKit) treats a CLI argument with spaces as a search query rather than a URI.
Expected Behavior vs Actual Behavior All symbols that are not allowed in a URI should be URI-encoded, though at least the spaces are preserved as-is.
Possible Fix
Steps to Reproduce
Logs
@bq:16:30:30:/media/d/temp/git/slidge$ glab mr new -w
? Choose a template Open a blank merge request
? Title: Catch the ValueError when filling a roster
? Description <Received>
Opening gitlab.com/bodqhrohro/slidge/-/merge_requests/new in your browser.
Your Environment
- Version used (Run
glab --version
): glab version 1.20.0 - Operating System and version: Debian 11