Skip to content

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