decode url component before comparison