aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorpetko <petko@524c5546-5005-0410-9a3e-e25e191bd360>2024-01-21 22:21:50 +0000
committerpetko <petko@524c5546-5005-0410-9a3e-e25e191bd360>2024-01-21 22:21:50 +0000
commit6106dc7be0ba09dd0f51baa781b74d83d9d778bf (patch)
tree71daf84c3d2fcce27230f612808465cc9cbe36a1 /scripts
parentbf07bf6cd49795af75d810a3c3ab4d45c5490356 (diff)
downloadpmwiki.svn-6106dc7be0ba09dd0f51baa781b74d83d9d778bf.tar.bz2
Input markup fix for unquoted form action URL.
git-svn-id: svn://pmwiki.org/pmwiki/trunk@4598 524c5546-5005-0410-9a3e-e25e191bd360
Diffstat (limited to 'scripts')
-rw-r--r--scripts/forms.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/forms.php b/scripts/forms.php
index 989a8f2d..d573174f 100644
--- a/scripts/forms.php
+++ b/scripts/forms.php
@@ -1,5 +1,5 @@
<?php if (!defined('PmWiki')) exit();
-/* Copyright 2005-2022 Patrick R. Michaud (pmichaud@pobox.com)
+/* Copyright 2005-2024 Patrick R. Michaud (pmichaud@pobox.com)
This file is part of PmWiki; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published
by the Free Software Foundation; either version 2 of the License, or
@@ -123,7 +123,7 @@ function InputToHTML($pagename, $type, $args, &$opt) {
$EnableInputDataAttr, $InputLabelFmt;
if (!@$InputTags[$type]) return "(:input $type $args:)";
## get input arguments
- if (!is_array($args)) $args = ParseArgs($args, '(?>([\\w-]+)[:=])');
+ if (!is_array($args)) $args = ParseArgs($args, '(?>([\\w-]+)[=])');
## convert any positional arguments to named arguments
$posnames = @$InputTags[$type][':args'];
if (!$posnames) $posnames = array('name', 'value');