Skip to content
This repository has been archived by the owner on Jul 17, 2024. It is now read-only.

Commit

Permalink
Merge pull request #17 from Roverr/fix/ports
Browse files Browse the repository at this point in the history
Port is now also in the directory name
  • Loading branch information
Roverr authored May 5, 2019
2 parents 17c569a + ea55407 commit ef94767
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/streaming/processor.go
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ func GetURIDirectory(URI string) (string, error) {
if err = ValidateURL(URL); err != nil {
return "", err
}
return sanitize.BaseName(fmt.Sprintf("%s-%s", URL.Hostname(), sanitize.Path(URL.Path))), nil
return sanitize.BaseName(fmt.Sprintf("%s-%s-%s", URL.Hostname(), URL.Port(), sanitize.Path(URL.Path))), nil
}

// createDirectoryForURI is to create a safe path based on the received URI
Expand Down

0 comments on commit ef94767

Please sign in to comment.