Re-apply workaround for URL-resource matching

refs #95 

Re-applying workaround that was left out of previous merge