allow file:/// locations
This commit is contained in:
parent
c58571d3c1
commit
0b75befe47
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ namespace Webpin.Widgets.Views {
|
|||
this.margin = 15;
|
||||
|
||||
try {
|
||||
this.protocol_regex = new Regex ("https?://[\\w+\\d+]((:\\d+)?/\\S*)?");
|
||||
this.protocol_regex = new Regex ("(https?://|file:///)[\\w\\d]");
|
||||
} catch (RegexError e) {
|
||||
critical ("%s", e.message);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue