Increase the possible length of “returnPage” because 64 is too short.
[Sone.git] / src / main / java / net / pterodactylus / sone / web / DismissNotificationPage.java
index 4981afb..b1838da 100644 (file)
@@ -54,7 +54,7 @@ public class DismissNotificationPage extends SoneTemplatePage {
                if ((notification != null) && notification.isDismissable()) {
                        notification.dismiss();
                }
-               String returnPage = request.getHttpRequest().getPartAsStringFailsafe("returnPage", 64);
+               String returnPage = request.getHttpRequest().getPartAsStringFailsafe("returnPage", 256);
                throw new RedirectException(returnPage);
        }