Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
hunter-ht.cn
Overview
Overview
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
刘莹莹
hunter-ht.cn
Commits
d893c9e8
Commit
d893c9e8
authored
May 07, 2020
by
liuyingying
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
url问题
parent
7eb522de
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
user.html
Hunter_ht/hunter/templates/hunter/user.html
+6
-0
No files found.
Hunter_ht/hunter/templates/hunter/user.html
View file @
d893c9e8
...
...
@@ -455,6 +455,9 @@
let
date
=
$
(
'#date_input'
).
val
();
let
software
=
$
(
"input[name='software']"
).
val
();
let
url_cve
=
$
(
"input[name='url_cve']"
).
val
();
if
(
url_cve
.
indexOf
(
'http'
)
===-
1
){
url_cve
=
'http://'
+
url_cve
;
}
let
formatData
=
new
FormData
();
formatData
.
append
(
"owner"
,
owner
);
formatData
.
append
(
"cve_id"
,
cve_id
);
...
...
@@ -640,6 +643,9 @@
let
bugtype
=
$
(
'input[name="bugtype"]'
).
val
();
let
software
=
$
(
"input[name='software']"
).
val
();
let
url_cve
=
$
(
"input[name='url_cve']"
).
val
();
if
(
url_cve
.
indexOf
(
'http'
)
===-
1
){
url_cve
=
'http://'
+
url_cve
;
}
let
formatData
=
new
FormData
();
formatData
.
append
(
"cve_id"
,
cve_id
);
formatData
.
append
(
"bugType"
,
bugtype
);
...
...
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