Fix use of resolveUrl() to handle hrefs with and without trailing slash.
Fix use of resolveUrl() to handle hrefs with and without trailing slash.

HiOA-ABI/nikita-noark5-core,HiOA-ABI/nikita-noark5-core,HiOA-ABI/nikita-noark5-core,HiOA-ABI/nikita-noark5-core