Restrict protocol in FilePresenter.
This commit is contained in:
parent
ecaa38e0d0
commit
71bbe4cd21
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ public class FilePresenter implements Presenter
|
|||
|
||||
// Get the good tree.
|
||||
File source;
|
||||
if (this.sourceFilePathname.matches(".+://.+"))
|
||||
if (this.sourceFilePathname.matches("file://.+"))
|
||||
{
|
||||
source = new File(new URI(this.sourceFilePathname));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue