diff --git a/modules/KalturaSupport/RequestHelper.php b/modules/KalturaSupport/RequestHelper.php index dcf56c45be..ed4c150299 100644 --- a/modules/KalturaSupport/RequestHelper.php +++ b/modules/KalturaSupport/RequestHelper.php @@ -229,6 +229,8 @@ private function buildReferer($refererUrl) { $urlParts = parse_url( $refererUrl ); if (isset( $urlParts['scheme'] ) && isset( $urlParts['host']) ) { return $urlParts['scheme'] . "://" . $urlParts['host'] . "/"; + } else if (isset($urlParts['path']) ) { + return $urlParts['path'] . "/"; } return null; }