[t3019] better args for url.replace in BaseLoader