Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
用这个软件时,用模拟终端执行下面的命令时
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
修改了一下