New patch debian/patches/identi.ca-oauth.patch: change identica_* OAuth
authorgregor herrmann <gregoa@debian.org>
Tue, 25 Oct 2011 18:34:25 +0000 (18:34 -0000)
committergregor herrmann <gregoa@debian.org>
Tue, 25 Oct 2011 18:34:25 +0000 (18:34 -0000)
URI's to point to https instead of http (closes: #602507).

debian/changelog
debian/patches/identi.ca-oauth.patch [new file with mode: 0644]
debian/patches/series

index 80553a7..a156483 100644 (file)
@@ -1,3 +1,10 @@
+bti (031-2) UNRELEASED; urgency=low
+
+  * New patch debian/patches/identi.ca-oauth.patch: change identica_* OAuth
+    URI's to point to https instead of http (closes: #602507).
+
+ -- gregor herrmann <gregoa@debian.org>  Tue, 25 Oct 2011 20:27:38 +0200
+
 bti (031-1) unstable; urgency=low
 
   * New upstream release:
diff --git a/debian/patches/identi.ca-oauth.patch b/debian/patches/identi.ca-oauth.patch
new file mode 100644 (file)
index 0000000..876d821
--- /dev/null
@@ -0,0 +1,22 @@
+Description: s/http/https/ in identi.ca OAuth URIs
+Origin: https://github.com/amir/bti/commit/7ac5a2449ed44f84193a6cf42bfea3282608a77c
+Bug-Debian: http://bugs.debian.org/602507
+Author: Amir Mohammad Saied <amirsaied@gmail.com>
+Reviewed-by: gregor herrmann <gregoa@debian.org>
+Last-Update: 2011-10-25
+
+--- a/bti.c
++++ b/bti.c
+@@ -255,9 +255,9 @@
+ static const char twitter_request_token_uri[]  = "http://twitter.com/oauth/request_token";
+ static const char twitter_access_token_uri[]   = "http://twitter.com/oauth/access_token";
+ static const char twitter_authorize_uri[]      = "http://twitter.com/oauth/authorize?oauth_token=";
+-static const char identica_request_token_uri[] = "http://identi.ca/api/oauth/request_token?oauth_callback=oob";
+-static const char identica_access_token_uri[]  = "http://identi.ca/api/oauth/access_token";
+-static const char identica_authorize_uri[]     = "http://identi.ca/api/oauth/authorize?oauth_token=";
++static const char identica_request_token_uri[] = "https://identi.ca/api/oauth/request_token?oauth_callback=oob";
++static const char identica_access_token_uri[]  = "https://identi.ca/api/oauth/access_token";
++static const char identica_authorize_uri[]     = "https://identi.ca/api/oauth/authorize?oauth_token=";
+ static const char user_uri[]     = "/user_timeline/";
+ static const char update_uri[]   = "/update.xml";
index f3f13ff..e18d0c7 100644 (file)
@@ -1,2 +1,3 @@
 manpage-debian.patch
 statusnet.patch
+identi.ca-oauth.patch