Fix URL stuff to support wildcards.