Fixed url replacement issue with Juniper support