DELTASPIKE-753 use #encodeResourceURL to be more portable