Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
X
xowiki
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
project-open
xowiki
Commits
3d4e52bd
Commit
3d4e52bd
authored
Jun 11, 2020
by
Frank Bergmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Improved security: Removed most [ns_conn form] calls in the system.
parent
8df35706
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
portlet.tcl
www/portlets/portlet.tcl
+1
-2
No files found.
www/portlets/portlet.tcl
View file @
3d4e52bd
...
...
@@ -187,7 +187,6 @@ if {"" == $plugin_id} {
set form_vars
[
ns_conn form
]
array set form_hash
[
ns_set array
$form
_vars
]
foreach elem
$component
_tcl
{
if
{[
regexp
{
^
\$
(
.*
)}
$elem
match varname
]}
{
if
{
!
[
info
exists
$varname
]}
{
...
...
@@ -195,7 +194,7 @@ if {"" == $plugin_id} {
doc_return 200
"text/html"
"<pre>Error: You have to specify variable '
$varname
' in the URL."
ad_script_abort
}
set
$varname
$form
_hash
(
$varname
)
set
$varname
[
im_opt_val -limit_to nohtml
$varname
]
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment