[Bps-public-commit] RT-Extension-rt_cpan_org branch, master, updated. 36686fef5284f7eb4853feb61c276df0ce15ca23

Kevin Falcone falcone at bestpractical.com
Wed Jul 23 22:13:17 EDT 2014


The branch, master has been updated
       via  36686fef5284f7eb4853feb61c276df0ce15ca23 (commit)
      from  6a688ef7c07877d4a1afa98b3c1fa007010c012a (commit)

Summary of changes:
 html/NoAuth/js/rt.cpan.org.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

- Log -----------------------------------------------------------------
commit 36686fef5284f7eb4853feb61c276df0ce15ca23
Author: Thomas Sibley <tsibley at cpan.org>
Date:   Wed Jul 23 12:47:16 2014 -0700

    Autocomplete via MetaCPAN over HTTPS
    
    Otherwise Firefox (at least v31.0) blocks the request because
    rt.cpan.org is served over HTTPS.  Chrome was unaffected.
    
    Reported on perl5-porters in
    http://www.nntp.perl.org/group/perl.perl5.porters/2014/07/msg218053.html

diff --git a/html/NoAuth/js/rt.cpan.org.js b/html/NoAuth/js/rt.cpan.org.js
index 2f8adb4..6cefc98 100644
--- a/html/NoAuth/js/rt.cpan.org.js
+++ b/html/NoAuth/js/rt.cpan.org.js
@@ -46,7 +46,7 @@ jQuery(function(){
                 // Adaptive autocomplete!  If the term contains a colon, look
                 // for modules and map to distributions via metacpan.
                 this_request = current_request = jQuery.ajax({
-                    url: "http://api.metacpan.org/v0/search/autocomplete",
+                    url: "https://api.metacpan.org/v0/search/autocomplete",
                     dataType: "json",
                     data: {
                         q: request.term

-----------------------------------------------------------------------


More information about the Bps-public-commit mailing list