Match custom urls, fixes #18