Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
intranet-wall
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
intranet-wall
Commits
efb8bcd5
Commit
efb8bcd5
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
07e5c056
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
index.tcl
www/index.tcl
+1
-1
modified-tasks.tcl
www/modified-tasks.tcl
+1
-2
No files found.
www/index.tcl
View file @
efb8bcd5
...
...
@@ -82,7 +82,7 @@ set substitution_list [list \
set
form_vars
[
ns_conn form
]
foreach
form_var
[
ad_ns_set_keys
$form
_vars
]
{
set form_val
[
ns_set get
$form
_vars
$form
_var
]
set form_val
[
im_opt_val -limit_to nohtml
$form
_var
]
lappend substitution_list
$form
_var
lappend substitution_list
$form
_val
}
...
...
www/modified-tasks.tcl
View file @
efb8bcd5
...
...
@@ -80,7 +80,6 @@ switch $perspective {
set
wall_sql
[
db_string wall
"select report_sql from im_reports where report_code = 'wall_new_project_task'"
]
set
substitution_list
[
list
\
user_id
$current
_user_id
\
wall_date
$wall
_date
\
...
...
@@ -88,7 +87,7 @@ set substitution_list [list \
set
form_vars
[
ns_conn form
]
foreach
form_var
[
ad_ns_set_keys
$form
_vars
]
{
set form_val
[
ns_set get
$form
_vars
$form
_var
]
set form_val
[
im_opt_val -limit_to nohtml
$form
_var
]
lappend substitution_list
$form
_var
lappend substitution_list
$form
_val
}
...
...
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