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
Voulnet commented 2012-04-13 19:54:03 -07:00 (Migrated from github.com)

...ine 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.

...ine 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.
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: code/twython#84
No description provided.