While I don't understand it,
Tons of incoming links to our sites have either an accidental extra space or some strange character at the end of the url in their href, which creates 404 returns when they arrive to my site.
Is it possible to have a rewrite condition that if it spots three things, either "\", or any url encoding to 301 redirect that out. They are always at the end.
I'm seeing "\", %5C, %3C, %20, and a few others.
Trying to enjoy the link gain rather then feeding 404.
I use NGINX.