-
Notifications
You must be signed in to change notification settings - Fork 107
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
Debug output does not show multiple parameters with Hash::MultiValue #149
Comments
I think this is a good catch. Any chance you can help write a test code
for this? I'm pretty sure I can fix it. -jnap
…On Thu, Dec 22, 2016 at 7:59 AM, tremor69 ***@***.***> wrote:
It seems to me that the default debug output of the development server
does not show parameters that appear multiple times correctly when
use_hash_multivalue_in_request is switched on.
Unfortunately I cannot find the location in the code where this debug
output is generated or I would try to provide a fix. But maybe I have made
some mistake and this is not at all a bug.
Request:
/test?attribute-25=opt1&attribute-25=opt2&attribute-25=opt3
Output:
Body Parameters are:
.-------------------------------------+-------------------------------------------------.
| Parameter | Value |
+-------------------------------------+-------------------------------------------------+
| attribute-25 | opt3 |
'-------------------------------------+-------------------------------------------------'
Expected:
Body Parameters are:
.-------------------------------------+-------------------------------------------------.
| Parameter | Value |
+-------------------------------------+-------------------------------------------------+
| attribute-25 (multiple) | opt1, opt2, opt3 |
'-------------------------------------+-------------------------------------------------'
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#149>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ACPUZWOumDCLH5_hBGop3x_IYXZs-n7yks5rKoJcgaJpZM4LUAXV>
.
|
I think it is actually easier for me to fix it if you can point me to the place/file/sub where this debug output is generated. |
Just found it. I will try to prepare a pull request. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It seems to me that the default debug output of the development server does not show parameters that appear multiple times correctly when
use_hash_multivalue_in_request
is switched on.Unfortunately I cannot find the location in the code where this debug output is generated or I would try to provide a fix. But maybe I have made some mistake and this is not at all a bug.
Request:
/test?attribute-25=opt1&attribute-25=opt2&attribute-25=opt3
Output:
Expected:
The text was updated successfully, but these errors were encountered: