Skip to content

Fixed an issue where the URL is not correctly created if "[]" is included in the query parameter#3

Open
MiuraSeiya wants to merge 3 commits into
kaminari:masterfrom
MiuraSeiya:pr_1
Open

Fixed an issue where the URL is not correctly created if "[]" is included in the query parameter#3
MiuraSeiya wants to merge 3 commits into
kaminari:masterfrom
MiuraSeiya:pr_1

Conversation

@MiuraSeiya

Copy link
Copy Markdown

fix #2
At L92 of kaminari-sinatra / lib / kaminari / helpers / sinatra_helpers.rb,
The problem was corrected by deleting any parameter whose key is "[]".

@yuki24

yuki24 commented Apr 11, 2017

Copy link
Copy Markdown
Member

I don't think I understand your isssue. Could you add a test case?

@MiuraSeiya

Copy link
Copy Markdown
Author

I understand. Add a test case.

@MiuraSeiya

Copy link
Copy Markdown
Author

@yuki24 I added a test case, so please check.

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

Successfully merging this pull request may close these issues.

The URL is not correctly created if the query parameter contains "[]"

2 participants