add check for '//' absolute path  to prevent mapping external URLs to assets directory