Modify URL matching to match all relative urls

* Fix URL matching in order to try to match all relative URLs
  i.e. any urls not beginning with a '/' or a protocol