Permalink
Browse files

fix for SSL

  • Loading branch information...
easunlee committed Apr 17, 2017
1 parent 40b25d0 commit eaccf17558bd661cac28a45dc0e39a0f04ffb64d
Showing with 2 additions and 2 deletions.
  1. +2 −2 plugins/GitHubCommenters/lib/GitHubCommenters/Auth.pm
@@ -33,7 +33,7 @@ sub condition {
sub commenter_auth_params {
my ( $key, $blog_id, $entry_id, $static ) = @_;
require MT::Util;
if ( $static =~ m/^http%3A%2F%2F/ ) {
if ( $static =~ m/^https?%3A%2F%2F/ ) {
# the URL was encoded before, but we want the normal version
$static = MT::Util::decode_url($static);
}
@@ -55,7 +55,7 @@ sub __create_return_url {
my $static = $q->param("static");
require MT::Util;
if ( $static =~ m/^http%3A%2F%2F/ ) {
if ( $static =~ m/^https?%3A%2F%2F/ ) {
# the URL was encoded before, but we want the normal version
$static = MT::Util::decode_url($static);
}

0 comments on commit eaccf17

Please sign in to comment.