HTML problem at Safari on iPadOS 18.2 or after version

We confirmed a problem at Safari on iPadOS 18.2 or after version.

For confirmation, we made a HTML document (see below HTML1) what include ‘method="POST" target="_blank"’ and tested the form however server received GET method and there is no parameter, server did not receive “id” parameter.

We confirmed that fact in captured packet and log file that on the server.

HTML1:

<form name="testform" method="POST" target="_blank" action="test/download">

<input name="id" type="hidden" value="XXXX"/>

</form>

We also made another HTML document (see below HTML2) what include submit button, but the server received GET method as above.

HTML2:

<form name="testform" method="POST" target="_blank" action="test/download">

<input name="id" type="hidden" value="XXXX"/>

<input type="submit"/>

</form>

And we also confirmed that it behaves differently depending on the network environment.

If the form targets a name that does not exist (ex. target=” A12345”), behaves differently http or https.

http:

Safari opened new tag, but the server received GET method. Normally, Safari open new tag and the server receive POST method.

https:

Safari opened new tag, and the server received POST method. It is normally.

If the form targets ‘_blank’, the server received GET method on http or https both.

We think Safari change the method POST to GET and delete parameters.

It is not conformed to the HTML specification if is that true.

We confirmed it was not happened at Safari on iPadOS 17.4, and Windows PC (Edge, Chrome).

The method what the server received is POST.

We find same problem in Apple Support Community (see below URL).

https://discussionsjapan.apple.com/thread/255987615 (Described in Japanese)

Is it a bug in Safari on iPadOS 18.2 or after version?

Do you have plan to fix? Or if fixed the bug, when do you release fixed version.

HTML problem at Safari on iPadOS 18.2 or after version
 
 
Q