Skip to content

Commit 11b6588

Browse files
authored
Merge pull request #6 from SasanLabs/develop
Incorporating review comments
2 parents abf6994 + 643ef78 commit 11b6588

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ version = "1.0.0"
4141
description = "Detect File upload requests and scan them to find related vulnerabilities"
4242

4343
zapAddOn {
44-
addOnName.set("File upload Scan Rule")
44+
addOnName.set("FileUpload")
4545
addOnStatus.set(AddOnStatus.ALPHA)
4646
zapVersion.set("2.11.0")
4747
manifest {

src/main/java/org/sasanlabs/fileupload/ui/FileUploadOptionsPanel.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ public void validateParam(Object optionParams) throws Exception {
268268

269269
@Override
270270
public String getHelpIndex() {
271-
return "ui.dialog.options.fileupload";
271+
return "fileupload";
272272
}
273273

274274
@Override

src/main/javahelp/org/sasanlabs/fileupload/resources/help/contents/fileupload.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ <H3>Explanation about Options Panel</H3>
3232
only the file name is changed. For handling this type of configuration,
3333
options panel has <B>Static Location Configuration</B> where
3434
static URL is added into URI Regex field. URI Regex field also supports the dynamic file name
35-
by <B>${fileName}</B>. parameter, for e.g. http://<baseurl>/${fileName}
35+
by <B>${fileName}</B>. parameter, for e.g. http://{baseurl}/${fileName}
3636
</LI>
3737
<LI>
3838
In some applications the URL to retrieve the uploaded file is present in the file upload request's response.

src/main/javahelp/org/sasanlabs/fileupload/resources/help/helpset.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
PUBLIC "-//Sun Microsystems Inc.//DTD JavaHelp HelpSet Version 2.0//EN"
44
"http://java.sun.com/products/javahelp/helpset_2_0.dtd">
55
<helpset version="2.0" xml:lang="en-GB">
6-
<title>Simple Example Add-On</title>
6+
<title>FileUpload Add-On</title>
77

88
<maps>
9-
<homeID>top</homeID>
9+
<homeID>fileupload</homeID>
1010
<mapref location="map.jhm"/>
1111
</maps>
1212

src/main/javahelp/org/sasanlabs/fileupload/resources/help/map.jhm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44
"http://java.sun.com/products/javahelp/map_1_0.dtd">
55

66
<map version="1.0">
7-
<mapID target="ui.dialog.options.fileupload" url="contents/fileupload.html" />
7+
<mapID target="fileupload" url="contents/fileupload.html" />
88
</map>

0 commit comments

Comments
 (0)