github / github/copilot-cli

URL argument in "az rest" command is getting incorrectly flagged as directory access

Offen
#1,935 0 Kommentare 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen
area:permissions
Vorherrschende Sprache
Shell
Sterne
11.2k
Forks
1.9k
Ø Merge
14 Std. 16 Min.
Gemergte PRs (30 T.)
6

Beschreibung

### Describe the bug

Copilot CLI incorrectly flags `--url "..."` argument in `az rest` command as directory access and asks me for approval

Image

### Affected version

1.0.3-0

### Steps to reproduce the behavior

1. operate cli without autopilot / allow-all / yolo permissions (use standard permissions)
2. direct copilot cli to perform `az rest` command with `--url` option
3. copilot prompts for directory access approval for path outside approved list

Image

### Expected behavior

copilot cli should perform the `az rest` command without prompting for directory access approval (assuming `az rest` is an approved bash command)

### Additional context

OS: Windows
Shell: Powershell 7

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.