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

Filter adding = before $OPTARG #5

Open
jimusik opened this issue Feb 15, 2024 · 0 comments
Open

Filter adding = before $OPTARG #5

jimusik opened this issue Feb 15, 2024 · 0 comments

Comments

@jimusik
Copy link

jimusik commented Feb 15, 2024

Found that the filter isn't working properly as stated in the API documentation. It's currently adding an = after ?Filter which is not the correct filter format.

Line 269:

query="${query:-?}${query:+&}filter=$OPTARG"

Should be:

query="${query:-?}${query:+&}filter$OPTARG"

On a secondary Note - the filter includes brackets in the API which are not allowed in the URL. Would be nice if I could just pass the brackets to BS and let it fix it when generating the URL. For now, I'll write the %5B and %5D into my own code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant