Skip to content

Whitespace and Query String Contamination for full_api_network_map #166

Closed

Description

@squid-protocol

Your regex blindly captures everything inside the quotes:

Python
r'.(GET|POST|PUT|DELETE|PATCH)\s*(\s*"'["']'
If a developer writes app.get("/users?status=active", ...), or leaves a trailing space like app.post("/auth/login "), the extracted string retains the query parameters and whitespace. Swagger paths do not include query strings. This will again cause the set math to fail.

Activity

  1. added
    component: shadow-api
    bug
    priority: high
    on Jul 11, 2026
  2. added this to the v2.4.0 milestone on Jul 11, 2026
  3. added a commit that references this issue on Jul 20, 2026
    7dcfa0c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugcomponent: shadow-apipriority: high

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions