-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathform.html
25 lines (24 loc) · 871 Bytes
/
form.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<!DOCTYPE html>
<html class="no-js">
<head>
<base href="{{ @SCHEME.'://'.@HOST.@BASE.'' }}/" />
<meta charset="ISO-8859-15">
<meta title='Testing' />
<meta description='Test using F3 - Problem regarding routing and non ASCII characters' />
</head>
<body>
<h1>Testing</h1>
<p>HTTP POST method - should work</p>
<form id='form' action='dummy' method='post' accept-charset="ISO-8859-15">
<label for='searchQuery'>Search</label>
<input type='text' name='searchQuery' id='searchQuery' value='barré' />
<input type='submit' />
</form>
<p>HTTP GET method - should break routing, returning a 404</p>
<form id='form' action='dummy' method='get' accept-charset="ISO-8859-15">
<label for='searchQuery'>Search</label>
<input type='text' name='searchQuery' id='searchQuery' value='barré' />
<input type='submit' />
</form>
</body>
</html>