use correct url encode for }...
C is not D
fixes #417