Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
intranet-forum
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-forum
Commits
895370f8
Commit
895370f8
authored
Jun 11, 2020
by
Frank Bergmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Improving security by added -limit_to xxx to all im_opt_val calls
parent
7c63228d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
10 deletions
+10
-10
intranet-forum-create.sql
sql/oracle/intranet-forum-create.sql
+7
-7
index.tcl
www/index.tcl
+3
-3
No files found.
sql/oracle/intranet-forum-create.sql
View file @
895370f8
...
...
@@ -560,8 +560,8 @@ begin
forum_view_name
\
]
\
-forum_type project
\
-view_name [im_opt_val forum_view_name]
\
-forum_order_by [im_opt_val forum_order_by]
\
-view_name [im_opt_val
-limit_to nohtml
forum_view_name]
\
-forum_order_by [im_opt_val
-limit_to nohtml
forum_order_by]
\
-restrict_to_mine_p "f"
\
-restrict_to_new_topics 1
]'
...
...
@@ -604,8 +604,8 @@ begin
forum_view_name
\
]
\
-forum_type company
\
-view_name [im_opt_val forum_view_name]
\
-forum_order_by [im_opt_val forum_order_by]
\
-view_name [im_opt_val
-limit_to nohtml
forum_view_name]
\
-forum_order_by [im_opt_val
-limit_to nohtml
forum_order_by]
\
-restrict_to_mine_p "f"
\
-restrict_to_new_topics 1
\
-restrict_to_employees 1
\
...
...
@@ -646,8 +646,8 @@ begin
forum_view_name
\
]
\
-forum_type home
\
-view_name [im_opt_val forum_view_name]
\
-forum_order_by [im_opt_val forum_order_by]
\
-view_name [im_opt_val
-limit_to nohtml
forum_view_name]
\
-forum_order_by [im_opt_val
-limit_to nohtml
forum_order_by]
\
-restrict_to_mine_p t
\
-restrict_to_new_topics 1
]'
...
...
@@ -659,4 +659,4 @@ show errors
commit
;
@
..
/
common
/
intranet
-
forum
-
common
.
sql
\ No newline at end of file
@
..
/
common
/
intranet
-
forum
-
common
.
sql
www/index.tcl
View file @
895370f8
...
...
@@ -176,8 +176,8 @@ set forum_content [im_forum_component \
-return_url
$return
_url
\
-start_idx
$forum
_start_idx
\
-export_var_list
$export
_var_list
\
-view_name
[
im_opt_val forum_view_name
]
\
-forum_order_by
[
im_opt_val forum_order_by
]
\
-view_name
[
im_opt_val
-limit_to alnum
forum_view_name
]
\
-forum_order_by
[
im_opt_val
-limit_to alnum
forum_order_by
]
\
-restrict_to_mine_p
$forum
_mine_p
\
-restrict_to_folder
$forum
_folder
\
-restrict_to_new_topics 0
\
...
...
@@ -210,4 +210,4 @@ set left_navbar_html "
"
ad_return_template
\ No newline at end of file
ad_return_template
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