Fix "invalid %-encoding" error

See https://sofatutor.airbrake.io/projects/2853/groups/785102228.