[ 
https://issues.apache.org/jira/browse/WICKET-6968?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sven Meier resolved WICKET-6968.
--------------------------------
      Assignee: Sven Meier
    Resolution: Invalid

Submit link initiates a browser submit. {{application/x-www-form-urlencoded}} 
does not have a charset parameter:

https://stackoverflow.com/questions/16819502/application-x-www-form-urlencoded-and-charset-utf-8

> SubmitLink results in submission without charset resulting in string 
> corruption
> -------------------------------------------------------------------------------
>
>                 Key: WICKET-6968
>                 URL: https://issues.apache.org/jira/browse/WICKET-6968
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-core
>    Affects Versions: 9.1.0
>         Environment: Ran into this issue running Wicket in WildFly 
> 20.0.1.Final in Java 11 in CentOS Linux release 7.6.1810 (Core) and in 
> Windows 11
>            Reporter: Robert Murphy
>            Assignee: Sven Meier
>            Priority: Major
>
> Castañeda becomes Castañeda when SubmitLink is used to submit form. Same 
> exact code except for using AjaxFallbackButton does not corrupt the string. 
> Difference noted between the form submission with SubmitLink and the form 
> submission with AjaxFallbackButton is that AjaxFallbackButton specifies the 
> charset in the content-type and SubmitLink does not.
> content-type: application/x-www-form-urlencoded
> vs 
> content-type: application/x-www-form-urlencoded; charset=UTF-8
> where the latter would appear to be correct to me



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to