Image url was not allowing single quote. Double quote should have been the disallowed character since it is invalid for URLs.