JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
silence more warnings master
authorJason Woofenden <jason@jasonwoof.com>
Fri, 8 May 2020 19:59:45 +0000 (15:59 -0400)
committerJason Woofenden <jason@jasonwoof.com>
Fri, 8 May 2020 19:59:45 +0000 (15:59 -0400)
admin_pages.php
inc/wfpl

index 384591d..e89a4c7 100644 (file)
@@ -251,7 +251,7 @@ function admin_pages_main_form($id = false, $history_id = false) {
         }
     } else {
         # form not submitted, set default values:
-        $data = array('filename' => format_cms_filename($_REQUEST['new_filename']));
+        $data = array('filename' => format_cms_filename(_REQUEST_cut($_REQUEST['new_filename'])));
     }
 
     if (!isset($data['layout']) || $data['layout'] === '' || $data['layout'] === '0') {
index 6be2bf0..8cdf037 160000 (submodule)
--- a/inc/wfpl
+++ b/inc/wfpl
@@ -1 +1 @@
-Subproject commit 6be2bf0ba344177f0d1e57d9135bcb97579c54a3
+Subproject commit 8cdf0375320bedf478c4f47e59b2294e3c06fa14