Merge pull request #4 from bl4de/master
User can press 'y' as well as 'Y' to confirm following redirectionpull/5/head
commit
5d60e74667
|
@ -82,7 +82,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