Fixed url escaping bug in url shortener class.