Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
AppBox
Project
Project
Details
Activity
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
王华
AppBox
Commits
0c7e754b
Commit
0c7e754b
authored
Apr 02, 2022
by
叶凯
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add
parent
7351c7b8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
8 deletions
+7
-8
main.aspx.cs
AppBox/main.aspx.cs
+7
-8
No files found.
AppBox/main.aspx.cs
View file @
0c7e754b
...
...
@@ -22,14 +22,6 @@ namespace AppBox
////////////////////////////////////////////////////////////////
string
themeStr
=
Request
.
QueryString
[
"theme"
];
string
menuStr
=
Request
.
QueryString
[
"menu"
];
if
(!
string
.
IsNullOrWhiteSpace
(
Request
.
QueryString
[
"redirurl"
]))
{
var
nvc
=
HttpUtility
.
ParseQueryString
(
Request
.
Url
.
Query
);
var
_url
=
nvc
.
Get
(
"redirurl"
);
var
_url2
=
HttpUtility
.
UrlDecode
(
_url
);
Response
.
Redirect
(
_url2
);
}
if
(!
String
.
IsNullOrEmpty
(
themeStr
)
||
!
String
.
IsNullOrEmpty
(
menuStr
))
{
if
(!
String
.
IsNullOrEmpty
(
themeStr
))
...
...
@@ -101,6 +93,13 @@ namespace AppBox
Tree
treeMenu
=
InitTreeMenu
(
menus
);
}
if
(!
string
.
IsNullOrWhiteSpace
(
Request
.
QueryString
[
"redirurl"
]))
{
var
nvc
=
HttpUtility
.
ParseQueryString
(
Request
.
Url
.
Query
);
var
_url
=
nvc
.
Get
(
"redirurl"
);
var
_url2
=
HttpUtility
.
UrlDecode
(
_url
);
Response
.
Redirect
(
_url2
);
}
}
#
region
InitAccordionMenu
...
...
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