Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TOOL IMPROVEMENT] URL Parser Should Display Query Arrays Properly #862

Open
NewtTheWolf opened this issue Feb 1, 2024 · 1 comment
Open
Assignees
Labels
enhancement New feature or request

Comments

@NewtTheWolf
Copy link

Description

The URL parser's current implementation does not adequately handle query parameters that include arrays. When multiple values for a single query parameter are present, the tool does not display them in a clearly indexed array format, which may lead to confusion and misinterpretation of the data.

Desired Solution

Improve the URL parser so that it:

  1. Detects and indexes multiple values for a single query parameter.
  2. Displays these values in an array format within the UI, making it clear that multiple values are present.
  3. Provides a clear visual distinction for arrayed query parameters to enhance readability and usability.

Additional Context

When parsing URLs that contain arrays in query strings, such as example.com?bullet_point=Bullet1&bullet_point=Bullet2, the parser should display an indexed array such as:

'bullet_point[0]': 'Bullet1'
'bullet_point[1]': 'Bullet2'

Currently, it seems to aggregate these values or only show one, leading to an incomplete representation of the URL's data. This feature is crucial for users who deal with complex query strings.

Attached below are the current outputs of the URL parser for reference:

  • Current Output Display:
    grafik

  • Desired Output Example:
    grafik

@NewtTheWolf NewtTheWolf added the enhancement New feature or request label Feb 1, 2024
sharevb added a commit to sharevb/it-tools that referenced this issue Feb 4, 2024
@sharevb
Copy link
Contributor

sharevb commented Feb 4, 2024

Hi @CorentinTh and @NewtTheWolf , fixed in #873

sharevb added a commit to sharevb/it-tools that referenced this issue Feb 11, 2024
sharevb added a commit to sharevb/it-tools that referenced this issue Feb 11, 2024
sharevb added a commit to sharevb/it-tools that referenced this issue Nov 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants