Fix return page.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Wed, 20 Oct 2010 17:18:31 +0000 (19:18 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Wed, 20 Oct 2010 17:18:31 +0000 (19:18 +0200)
src/main/resources/templates/knownSones.html

index bbdae37..eeda403 100644 (file)
@@ -12,7 +12,7 @@
 
        <form id="add-sone" action="addSone.html" method="post">
                <input type="hidden" name="formPassword" value="<% formPassword|html>" />
-               <input type="hidden" name="returnPage" value="<% request.url|html>" />
+               <input type="hidden" name="returnPage" value="<% request.uri|html>" />
                <input type="text" name="request-uri" />
                <button type="submit"><%= Page.Index.AddSone.Button.Add|l10n|html></button>
        </form>