fixes #3516 - resource names (inc. domains) are now being parametrized when used to construct urls