[freeside-commits] branch master updated. c541cb0f1ab12a904252bd6b2658dba585860f28

Mark Wells mark at 420.am
Mon Aug 22 11:49:23 PDT 2016


The branch, master has been updated
       via  c541cb0f1ab12a904252bd6b2658dba585860f28 (commit)
       via  ebb5215249d91a895d86b2ab2a748f6ccb46643d (commit)
      from  4bccd30306a61645abd2c69498bb695a3041cdab (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit c541cb0f1ab12a904252bd6b2658dba585860f28
Author: Mark Wells <mark at freeside.biz>
Date:   Mon Aug 22 11:48:11 2016 -0700

    relax SSL verification on LRN lookup, #71955
    
    Conflicts:
    	FS/FS/cdr.pm

diff --git a/FS/FS/cdr.pm b/FS/FS/cdr.pm
index 155090d..c61a7b3 100644
--- a/FS/FS/cdr.pm
+++ b/FS/FS/cdr.pm
@@ -28,6 +28,7 @@ use FS::rate_detail;
 # LRN lookup
 use LWP::UserAgent;
 use HTTP::Request::Common qw(POST);
+use IO::Socket::SSL;
 use Cpanel::JSON::XS qw(decode_json);
 
 @ISA = qw(FS::Record);
@@ -1498,7 +1499,13 @@ sub get_lrn {
   my $self = shift;
   my $field = shift;
 
-  my $ua = LWP::UserAgent->new;
+  my $ua = LWP::UserAgent->new(
+             'ssl_opts' => {
+               verify_hostname => 0,
+               SSL_verify_mode => IO::Socket::SSL::SSL_VERIFY_NONE,
+             },
+           );
+
   my $url = 'https://ws.freeside.biz/get_lrn';
 
   my %content = ( 'support-key' => $support_key,

commit ebb5215249d91a895d86b2ab2a748f6ccb46643d
Author: Mark Wells <mark at freeside.biz>
Date:   Thu Aug 18 18:08:00 2016 -0700

    typo

diff --git a/httemplate/elements/header-full.html b/httemplate/elements/header-full.html
index 6d90d50..fe02650 100644
--- a/httemplate/elements/header-full.html
+++ b/httemplate/elements/header-full.html
@@ -73,7 +73,15 @@ Example:
         <td align="right" BGCOLOR="#ffffff">
           <& notify-tickets.html &>
         </td>
-        <td align=right valign=top BGCOLOR="#ffffff"><FONT SIZE="-1"><% mt('Logged in as') |h %><b><% $FS::CurrentUser::CurrentUser->username |h %> </b> <FONT SIZE="-2"><a href="<%$fsurl%>loginout/logout.html"><% mt('logout' |h %></a></FONT><br></FONT><FONT SIZE="-2"><a href="<%$fsurl%>pref/pref.html" STYLE="color: #000000"><% mt('Preferences') |h %></a>
+        <td align=right valign=top BGCOLOR="#ffffff">
+          <FONT SIZE="-1"><% mt('Logged in as') |h %>
+            <b><% $FS::CurrentUser::CurrentUser->username |h %> </b>
+            <FONT SIZE="-2"><a href="<%$fsurl%>loginout/logout.html">
+              <% mt('logout') |h %>
+            </a></FONT>
+          <br>
+          </FONT>
+          <FONT SIZE="-2"><a href="<%$fsurl%>pref/pref.html" STYLE="color: #000000"><% mt('Preferences') |h %></a>
 %         if ( $conf->config("ticket_system")
 %              && FS::TicketSystem->access_right(\%session, 'ModifySelf') ) {
             | <a href="<%$fsurl%>rt/Prefs/Other.html" STYLE="color: #000000"><% mt('Ticketing preferences') |h %></a>

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

Summary of changes:
 FS/FS/cdr.pm                         |    9 ++++++++-
 httemplate/elements/header-full.html |   10 +++++++++-
 2 files changed, 17 insertions(+), 2 deletions(-)




More information about the freeside-commits mailing list