Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
intranet-filestorage
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-filestorage
Commits
179d17ed
Commit
179d17ed
authored
Apr 30, 2020
by
Frank Bergmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Now checking bread crum pathes for strange characters
parent
c2661304
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
intranet-filestorage-procs.tcl
tcl/intranet-filestorage-procs.tcl
+4
-1
No files found.
tcl/intranet-filestorage-procs.tcl
View file @
179d17ed
...
...
@@ -1588,7 +1588,7 @@ ad_proc -public im_filestorage_base_component { user_id object_id object_name ba
@param bread_crum_path: a relative path, starting from the base_path
""
= root directory,
"dir1"
= next directory,
"dir1/dir2"
= second next, etc.
}
{
ns_log Notice
"im_filestorage_base_component
$user
_id
$object
_id
$object
_name
$base
_path
$folder
_type
"
ns_log Notice
"im_filestorage_base_component
uid=
$user
_id oid=
$object
_id object_name=
$object
_name base_path=
$base
_path folder_type=
$folder
_type bread_crum_path=
$bread
_crum_path
"
set bgcolor
(
0
)
"roweven"
set bgcolor
(
1
)
"rowodd"
...
...
@@ -1609,6 +1609,9 @@ ad_proc -public im_filestorage_base_component { user_id object_id object_name ba
if
{
""
==
$bread
_crum_path
}
{
set bread_crum_path
[
ns_set get
$bind
_vars bread_crum_path
]
}
if
{[
im_security_alert_check_path -location
"intranet-filestorage.im_filestorage_base_component"
-value
$bread
_crum_path
]}
{
set bread_crum_path
""
}
set base_path_depth
[
llength
[
split
$base
_path
"/"
]]
ns_set delkey
$bind
_vars bread_crum_path
...
...
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