Add accept-charset attribute to all forms.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Thu, 26 Jul 2012 08:21:17 +0000 (10:21 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Thu, 26 Jul 2012 08:21:17 +0000 (10:21 +0200)
src/main/resources/templates/admin.edit-artist
src/main/resources/templates/login

index a3fdcbe..783a5ff 100644 (file)
@@ -2,7 +2,7 @@
 
 <h1>Edit Artist</h1>
 
-<form method="post">
+<form method="post" accept-charset="utf-8">
 
        <label>Name: <input type="text" name="name" value="<% artist.name|html>"/></label>
        <button type="submit">Edit Artist</button>
index bf06f26..c211304 100644 (file)
@@ -2,7 +2,7 @@
 
 <h1>Login</h1>
 
-<form action="login" method="post">
+<form action="login" method="post" accept-charset="utf-8">
 
        <label>Username: <input type="text" name="username" value=""/></label>
        <label>Password: <input type="password" name="password" value=""/></label>