Skip to content

Only first body parameter of multiple with same name is returned #19

@nukemdu

Description

@nukemdu

When submitting (for example) a HTML with multiple entries, it results in multiple key:value pairs with the same key (see https://www.w3schools.com/tags/tryit.asp?filename=tryhtml_select_multiple). Hunchentoots post-parameters would look like '(("id" . "abc") ("id" . "def"))' Binding the id variable is probably done with a '(post-parameter "id")', which just does an assoc and returns the first matching entry, as it's assumed to be an alist. It would however be useful to bind the variable "id" as a list with ("abc" "def")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions