For months we had a bug in our website where the characters "%0D%0A" were in the URL of many of our indexed links in Google, "%0D%0A" is the equivalent of new line. These URL's are incorrect and they will make the IIS throw a Bad Request Error, I have tried to catch them using URl Rewriting Module but I found out that these URL's don't reach the module as the error will be thrown before that.
Can anyone please point me to the write direction to where I can catch these URL's in IIS in order for me to redirect them to their correct URL equivalent?