GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Query parameters not properly URL-encoded (pandas data pipeline) · Issue #9 · openapi/openapi-python-sdk

Query parameters not properly URL-encoded (pandas data pipeline) #9

New issue
Copy link
New issue
Copy link
Open
Bug
Open
Query parameters not properly URL-encoded (pandas data pipeline)#9
Bug
Copy link
Labels
good first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed

Description

@francescobianco
francescobianco
opened on Mar 18, 2026
Issue body actions

Query parameters not properly URL-encoded (pandas data pipeline)

Description
Special characters break API calls when used in data pipelines.

Code snippet

params = {
    "denominazione": "azienda & co"
}

response = client.request(
    "GET",
    base_url,
    "/advance",
    params=params
)

Observed behavior
400 Bad Request due to invalid encoding.

Activity

  1. francescobianco
    added
    good first issueGood for newcomersGood for newcomers
    on Mar 18, 2026
  2. IlyasFardaouix commented on Mar 19, 2026

    @IlyasFardaouix
    IlyasFardaouix
    on Mar 19, 2026
    More actions

    I think the root cause here might be related to the client.request method, which is using the params dictionary directly without URL-encoding the query parameters. IIRC, the requests library (which is likely being used under the hood) expects the query parameters to be passed as a dict with the keys being the parameter names and the values being the parameter values. However, it does not automatically URL-encode the values. You might want to try using the urllib.parse.urlencode function to encode the params dictionary before passing it to the client.request method.

    Reacted by Francesco Bianco (yafb)
  3. francescobianco
    added
    help wantedExtra attention is neededExtra attention is needed
    on Mar 24, 2026
  4. francescobianco
    added the
    Bug
    issue type on Mar 24, 2026
  5. francescobianco commented on Mar 24, 2026

    @francescobianco
    francescobianco
    on Mar 24, 2026
    MemberAuthor
    More actions

    Good point, thanks @IlyasFardaouix for looking into it.

    We’re currently experimenting with a slightly different approach using Pandas for handling responses, so this area is still evolving on our side.

    Any suggestions or experiments around improving the decoding/handling flow are more than welcome — feel free to share ideas or even open follow-up PRs.

    Reacted by Ilyas Fardaoui
  6. Deadpool2000 commented on Apr 5, 2026

    @Deadpool2000
    Deadpool2000
    on Apr 5, 2026
    Contributor
    More actions

    Hey @francescobianco ,

    I just raised a PR #16 fixing this bug.

    Check, Verify and Let me know!

  7. francescobianco
    added a commit that references this issue on Apr 14, 2026

    Merge pull request #16 from Deadpool2000/fix-issue-9

    512e43d
  8. francescobianco commented on Apr 14, 2026

    @francescobianco
    francescobianco
    on Apr 14, 2026
    MemberAuthor
    More actions

    Great work @Deadpool2000, thanks for the PR! 🙌

    Even though this seems to fix the issue, we’ll keep it open for now so we can run some internal tests in our environment over the next few months.

    Once everything is fully verified and confirmed as stable, we’ll proceed with closing the issue.

    Thanks again for your collaboration!

    Reacted by Salil M
  9. Deadpool2000 commented on Apr 15, 2026

    @Deadpool2000
    Deadpool2000
    on Apr 15, 2026
    Contributor
    More actions

    @francescobianco Thanks 😊

  10. francescobianco commented on May 12, 2026

    @francescobianco
    francescobianco
    on May 12, 2026
    MemberAuthor
    More actions

    Thanks @Deadpool2000 now you are mentioned here https://github.com/openapi/openapi-python-sdk/releases/tag/0.3.0

    Reacted by Salil M
  11. Deadpool2000 commented on May 12, 2026

    @Deadpool2000
    Deadpool2000
    on May 12, 2026
    Contributor
    More actions

    @francescobianco thanks for the mention, happy to see it all make it into the release 😊

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

    good first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed

    Type

    Bug

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402520 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.