I have added the following lines to the function 'request' starting in l... #84

Merged
Voulnet merged 1 commit from patch-3 into master 2012-04-19 15:26:53 -07:00

1 commit

Author SHA1 Message Date
Mohammed ALDOUB
01a7284a8f I have added the following lines to the function 'request' starting in line 287:
# convert any http Twitter url into https, for the sake of user security
        # only convert the protocol part, not all occurences of http://, in case users want to search that
        endpoint = endpoint.replace('http://','https://',1)

This is to ensure all passed Twitter urls are converted into https, without messing with the rest of the url.
2012-04-14 05:53:51 +03:00