If a custom URL is set, check if is file protocol.
@peterhashair I would be awesome to also add some tests for that new config flag and custom file urls not being tracked
@sgiehl I was trying to add tests, but it seems like Travis didn't allow swap protocol, any suggestions?
If you don't want this PR to be closed automatically in 28 days then you need to assign the label 'Do not close'.
@bx80 I've fixed the code and added some tests. This should be ready for a final review now.