Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

localstack-azure-client: the shell-syntax refusal doesn't say that quoting fixes it

オープン 初心者向け
#110 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
72/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
typescript

調査の方向性

argv.tsから始めます。issueによると、禁止されたシェル構文では、複数の文字やパターンに対して同じAzSyntaxErrorメッセージが表示されます。拒否された入力がどのように検出され、エラーがコマンドの応答にどう伝わるかを追ってください。拒否時に文字またはパターンを特定し、値を引用符で囲めば解決すると説明することが完了条件です。報告された&のケースと、ほかに列挙された構文も網羅してください。

索引モデルが issue の本文から書いたものです。

説明

What happens

localstack-azure-client refuses an unquoted & with a generic message. An agent calling rest with a two-parameter URL got:

rest --method get --url /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/local-rg/providers/Microsoft.ApiManagement/service/local-inventory-apim-test/apis/inventory-api/policies/policy?api-version=2022-08-01&format=rawxml
❌ Command not understood

Command contains forbidden shell syntax.

The agent concluded that "the MCP Azure tool rejects & in az rest URLs, so URLs can carry only one query parameter", dropped format=rawxml, and reported that as a limitation. That's not true. The same URL in double quotes works:

rest --method get --url "/subscriptions/…/policies/policy?api-version=2022-08-01&format=rawxml" --query properties.format
"rawxml"

Expected

The refusal should say which character was refused and that quoting the value fixes it. For example: "& outside quotes is shell syntax. Quote the value, for example --url \"…?a=1&b=2\"." argv.ts throws the same AzSyntaxError text for ;&|<>, $(, ${, backticks and newlines, so the message never says which one it found.

The same applies to $filter, $top and other query parameters. An agent that can't tell why its call was refused will route around the feature.

Context

  • MCP server 0.7.0 via npx
  • LocalStack Azure emulator 2026.11.0.dev501
  • Claude Code with claude-opus-5-5, deploying the api-management-function-app sample from localstack-azure-samples
主要言語
TypeScript
スター
29
フォーク
14
平均マージ
3日 16時間
マージ済み PR(30日)
18

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

localstack/localstack-mcp-server のほかの issue

localstack/localstack-mcp-server の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。