The % when used inside href= is an escape character to display a charater using a number value. So %{ is not % followed by a number.
try changing the % to %25
See: Pass a percent (%) sign in a url and get exact value of it using php
The % when used inside href= is an escape character to display a charater using a number value. So %{ is not % followed by a number.
try changing the % to %25
See: Pass a percent (%) sign in a url and get exact value of it using php