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

Clarification on value delimiter for key expression parameters #1820

Open
gar1t opened this issue Mar 8, 2025 · 0 comments
Open

Clarification on value delimiter for key expression parameters #1820

gar1t opened this issue Mar 8, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@gar1t
Copy link

gar1t commented Mar 8, 2025

Describe the bug

There appears to be a discrepancy between the docs and the implementation regarding the separation char for param name/value pairs used in key expressions.

The docs specify &.

From the source code docs:

When in string form, selectors look a lot like a URI, with similar semantics:
...
parameters are separated by &

This is consistent with the referenced description in the roadmap repo.

However, the implementation uses ;.

I can confirm that params specified as foo?bar=123&baz=456 results in a single param bar of 123&baz=456.

foo?bar=123;baz=456 yields the two params foo and bar.

I didn't see any user facing examples that call attention to this issue one way or another.

To reproduce

See description.

System info

Applies to any system.

@gar1t gar1t added the bug Something isn't working label Mar 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant