Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
test-platform
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
马博
test-platform
Commits
a6f5d428
Commit
a6f5d428
authored
Dec 18, 2018
by
马博
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hdlogin fix
parent
af4464f5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
Authorization.java
src/test/java/http/service/Authorization.java
+1
-1
No files found.
src/test/java/http/service/Authorization.java
View file @
a6f5d428
...
@@ -281,7 +281,7 @@ public class Authorization {
...
@@ -281,7 +281,7 @@ public class Authorization {
Map
<
String
,
String
>
map
=
response
.
getCookies
();
Map
<
String
,
String
>
map
=
response
.
getCookies
();
logger
.
info
(
"cookies:"
+
map
.
toString
());
logger
.
info
(
"cookies:"
+
map
.
toString
());
hdCookies
=
new
HashMap
<>(
response
.
getCookies
());
hdCookies
=
new
HashMap
<>(
response
.
getCookies
());
if
(
hdCookies
!=
null
||
hdCookies
.
size
()!=
0
)
{
if
(
hdCookies
!=
null
&&
hdCookies
.
size
()!=
0
)
{
//取消安全校验
//取消安全校验
hdCookies
.
remove
(
"csrf_token"
);
hdCookies
.
remove
(
"csrf_token"
);
hdCookies
.
put
(
"appId"
,
appId
);
hdCookies
.
put
(
"appId"
,
appId
);
...
...
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