Skip to content

Commit 403c5ec

Browse files
authored
Merge pull request #36 from gdgd009xcd/JOHANNES240530
## [v0.8.10] - 2024-05-31
2 parents 06a84b6 + 16234dd commit 403c5ec

File tree

7 files changed

+120
-3
lines changed

7 files changed

+120
-3
lines changed

addOns/customactivescan/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ All notable changes to this add-on will be documented in this file.
33

44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
55

6+
## [v0.8.10] - 2024-05-31
7+
### Changed
8+
- bugfix: fixed problemn which can't display this addon's javahelp when user select language except English.
9+
610
## [v0.8.9] - 2024-03-28
711
### Changed
812
- bugfix: Changed to correctly encode and decode the HttpRequest body based on Content-Encoding.

addOns/customactivescan/customactivescan.gradle.kts

Lines changed: 24 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import org.zaproxy.gradle.addon.AddOnStatus
22

33

4-
version = "0.8.9"
4+
version = "0.8.10"
55
description = "a Active Scanner with custmizable rules"
66

77
val jar by tasks.getting(Jar::class) {
@@ -20,8 +20,29 @@ zapAddOn {
2020
url.set("https://gdgd009xcd.github.io/CustomActiveScanForZAP")
2121
repo.set("https://github.com/gdgd009xcd/CustomActiveScanForZAP")
2222
helpSet {
23-
baseName.set("help%LC%.helpset")
24-
localeToken.set("%LC%")
23+
// baseName and localToken are used for determinating javahelp helpset(.hs) file path
24+
// In English (default) locale, %LC% token is convert to "" then helpset file path is:
25+
// main/java/javahelp/help/helpset.hs
26+
// In ja_JP locale, %LC% token is convert to "_ja_JP" then helpset file path is:
27+
// main/java/javahelp/help_ja_JP/helpset_ja_JP.hs
28+
// * if you use %LC% locale token, then you must provide "all" locale specific helpset files for ZAP.
29+
// otherwise you may remove %LC% to support any locale helpset in English only.
30+
// * if you comment out both baseName and localeToken property,
31+
// zaproxy expects the help directory to be in the following path:
32+
//
33+
// main/java/javahelp/[addon package dir]/resources/help
34+
// help_ja_JP
35+
// ...
36+
// [addon package dir] = org/zaproxy/zap/extension/customactivescan
37+
//
38+
// ** this help directory hierarchy is used for providing localization help by crowdin.
39+
//
40+
// ----locale supported helpset configurations.---
41+
//baseName.set("help%LC%.helpset")
42+
//localeToken.set("%LC%")
43+
// ---- no locale supported(English only) configurations.---
44+
baseName.set("help.helpset")
45+
localeToken.set("")
2546
}
2647
}
2748
}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
2+
<HTML>
3+
<HEAD>
4+
<TITLE>
5+
CustomActiveScanForZAP
6+
</TITLE>
7+
</HEAD>
8+
<BODY>
9+
<H1>CustomActiveScanForZAP</H1>
10+
11+
<H2>About</H2>
12+
a ZAP Addon ActiveScan for detecting SQL injection with more better way.
13+
<p>
14+
15+
<H2>Description</H2>
16+
<UL>
17+
<B>下記のリンクは、次のURLへ遷移します:https://github.com/gdgd009xcd/CustomActiveScanForZAP</B><P></P>
18+
<LI><A HREF="https://github.com/gdgd009xcd/CustomActiveScanForZAP#customactivescanforzap">Overview</A>
19+
<LI><A HREF="https://github.com/gdgd009xcd/CustomActiveScanForZAP/wiki/1.0.-Basic-Usage">Basic Usage</A>
20+
</UL>
21+
</BODY>
22+
</HTML>
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
<?xml version='1.0' encoding='UTF-8'?>
2+
<!DOCTYPE helpset
3+
PUBLIC "-//Sun Microsystems Inc.//DTD JavaHelp HelpSet Version 2.0//EN"
4+
"http://java.sun.com/products/javahelp/helpset_2_0.dtd">
5+
<helpset version="2.0" xml:lang="ja-JP">
6+
<title>AutoMacroBuilderForZAP Add-On</title>
7+
8+
<maps>
9+
<homeID>customactivescan</homeID>
10+
<mapref location="map.jhm"/>
11+
</maps>
12+
13+
<view>
14+
<name>TOC</name>
15+
<label>Contents</label>
16+
<type>org.zaproxy.zap.extension.help.ZapTocView</type>
17+
<data>toc.xml</data>
18+
</view>
19+
20+
<view>
21+
<name>Index</name>
22+
<label>Index</label>
23+
<type>javax.help.IndexView</type>
24+
<data>index.xml</data>
25+
</view>
26+
27+
<view>
28+
<name>Search</name>
29+
<label>Search</label>
30+
<type>javax.help.SearchView</type>
31+
<data engine="com.sun.java.help.search.DefaultSearchEngine">
32+
JavaHelpSearch
33+
</data>
34+
</view>
35+
36+
<view>
37+
<name>Favorites</name>
38+
<label>Favorites</label>
39+
<type>javax.help.FavoritesView</type>
40+
</view>
41+
</helpset>
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<?xml version='1.0' encoding='UTF-8'?>
2+
<!DOCTYPE index
3+
PUBLIC "-//Sun Microsystems Inc.//DTD JavaHelp Index Version 1.0//EN"
4+
"http://java.sun.com/products/javahelp/index_2_0.dtd">
5+
6+
<index version="2.0">
7+
<!-- index entries are merged (sorted) into core index -->
8+
<indexitem text="customactivescan" target="addon.customactivescan" />
9+
</index>
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version='1.0' encoding='UTF-8'?>
2+
<!DOCTYPE map
3+
PUBLIC "-//Sun Microsystems Inc.//DTD JavaHelp Map Version 1.0//EN"
4+
"http://java.sun.com/products/javahelp/map_1_0.dtd">
5+
6+
<map version="1.0">
7+
<mapID target="addon.customactivescan" url="contents/help.html" />
8+
</map>
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<?xml version='1.0' encoding='UTF-8' ?>
2+
<!DOCTYPE toc
3+
PUBLIC "-//Sun Microsystems Inc.//DTD JavaHelp TOC Version 2.0//EN"
4+
"http://java.sun.com/products/javahelp/toc_2_0.dtd">
5+
6+
<toc version="2.0">
7+
<tocitem text="ZAP User Guide" tocid="toplevelitem">
8+
<tocitem text="Add Ons" tocid="addons">
9+
<tocitem text="CustomActiveScanForZAP" target="addon.customactivescan"/>
10+
</tocitem>
11+
</tocitem>
12+
</toc>

0 commit comments

Comments
 (0)