Changed getAbsoluteUrl to use the correct escaping method (#13311)

Change-Id: I84cece7ae1c8ede0b77b82d0f84d6550e77af65b