I\'m using Django\'s URLconf, the URL I will receive is /?code=authenticationcode I want to match the URL using r\'^\\?code=(?P.*)$\'>
/?code=authenticationcode
r\'^\\?code=(?P.*)$\'>
.*)$\'>
You are not allowed to use ? in a URL as a variable value. The ? indicates that there are variables coming in.
?
Like: http://www.example.com?variable=1&another_variable=2
http://www.example.com?variable=1&another_variable=2
Replace it or escape it. Here's some nice documentation.