merge with master
This commit is contained in:
commit
fe0569c9d4
10 changed files with 201 additions and 165 deletions
|
|
@ -218,6 +218,9 @@ func decompressAndLoad(qw graph.QuadWriter, cfg *config.Config, path, typ string
|
|||
if path == "" {
|
||||
path = cfg.DatabasePath
|
||||
}
|
||||
if path == "" {
|
||||
return nil
|
||||
}
|
||||
u, err := url.Parse(path)
|
||||
if err != nil || u.Scheme == "file" || u.Scheme == "" {
|
||||
// Don't alter relative URL path or non-URL path parameter.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue