Skip to content

修复了由Base64产生的+字符没有进行url编码的问题#50

Open
Ex-Origin wants to merge 1 commit intoChora10:masterfrom
Ex-Origin:master
Open

修复了由Base64产生的+字符没有进行url编码的问题#50
Ex-Origin wants to merge 1 commit intoChora10:masterfrom
Ex-Origin:master

Conversation

@Ex-Origin
Copy link

用这个软件时,用模拟终端执行下面的命令时
echo "l" > t.php
会报错:
java.lang.StringIndexOutOfBoundsException: String index out of range: -2
at java.lang.String.substring(String.java:1967)
at com.ms509.util.Shell.execute_php(Shell.java:196)
at com.ms509.util.Shell.execute(Shell.java:49)
at com.ms509.ui.panel.ShellPanel.execute(ShellPanel.java:343)
at com.ms509.ui.panel.ShellPanel$textareaKey$1.run(ShellPanel.java:282)
at java.lang.Thread.run(Thread.java:748)

echo ';' > t.php
命令也有这种情况
在调试过程中发现了该bug
修改了一下

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant