User can press 'y' as well as 'Y' to confirm following redirection
parent
fe56892f1e
commit
37be32c6ad
|
@ -81,7 +81,7 @@ class Wordpress:
|
|||
print notice("The remote host tried to redirect to: %s" % r.headers['location'])
|
||||
user_input = str(raw_input("[?] Do you want to follow the redirection ? [Y]es [N]o, "))
|
||||
|
||||
if user_input == "Y":
|
||||
if user_input.lower() == "y":
|
||||
self.url = r.headers['location']
|
||||
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue