Skip to content

Commit

Permalink
Yagura menu NullPointerバグ対応
Browse files Browse the repository at this point in the history
  • Loading branch information
isayan committed Jun 12, 2023
1 parent 82661b7 commit 06abb73
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
9 changes: 5 additions & 4 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
netbeans.org-netbeans-modules-javascript2-requirejs.enabled=true
release_version_major=3.0
release_version_minor=4.0
netbeans.license=mit
netbeans.org-netbeans-modules-javascript2-requirejs.enabled=true
release_version_major=3.0
release_version_minor=4.1
netbeans.license=mit
netbeans.hint.jdkPlatform=JDK_17
Binary file modified release/YaguraExtension-v3.0.jar
Binary file not shown.
5 changes: 4 additions & 1 deletion src/main/java/burp/BurpExtension.java
Original file line number Diff line number Diff line change
Expand Up @@ -589,7 +589,7 @@ protected final class MenuHander {
public MenuHander(MontoyaApi api) {
this.api = api;

JMenu yaguraMenu = new JMenu();
final JMenu yaguraMenu = new JMenu();
yaguraMenu.setText("Yagura");
yaguraMenu.setMnemonic(KeyEvent.VK_Y);

Expand Down Expand Up @@ -950,6 +950,9 @@ public void actionPerformed(ActionEvent e) {
BurpConfig.CharacterSets burpCharset = BurpConfig.getCharacterSets(BurpConfig.CharacterSetMode.SPECIFIC_CHARACTER_SET, StandardCharsets.UTF_8.name());
if (BurpConfig.isSupportApi(api, BurpConfig.SupportApi.BURPSUITE_USEROPTION)) {
burpCharset = BurpConfig.getCharacterSets(api);
if (burpCharset.getCharacterSet() == null) {
burpCharset.setCharacterSet(StandardCharsets.UTF_8.name());
}
}

for (int i = 0; i < encodngList.size(); i++) {
Expand Down

0 comments on commit 06abb73

Please sign in to comment.