Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Use https in Google::Voice::Base#set_rnr_se_token #5

Merged
merged 1 commit into from

2 participants

@evaryont

A minor change, but HTTPS is used everywhere else, why not when grabbing the token?

@evaryont evaryont Use https in Google::Voice::Base#set_rnr_se_token
A minor change, but HTTPS is used *everywhere* else, why not when grabbing the token?
bba4bc6
@jeffrafter jeffrafter merged commit da7858e into from
@jeffrafter
Owner

Great patch, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Sep 7, 2011
  1. @evaryont

    Use https in Google::Voice::Base#set_rnr_se_token

    evaryont authored
    A minor change, but HTTPS is used *everywhere* else, why not when grabbing the token?
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/google/voice/base.rb
View
2  lib/google/voice/base.rb
@@ -95,7 +95,7 @@ def logout
end
def set_rnr_se_token
- @curb.url = "http://www.google.com/voice"
+ @curb.url = "https://www.google.com/voice"
@curb.perform
@_rnr_se = Nokogiri::HTML::Document.parse(@curb.body_str).css('form#gc-search-form').inner_html
/value="(.+)"/.match(@_rnr_se)
Something went wrong with that request. Please try again.