src/Sanitize.php
public static function replaceHttpsUrls($value){

		// CDN resources
		$value = str_ireplace('http://cdn.prtl.eu', '//cdn.prtl.eu', $value);
		$value = str_ireplace('http://cdn2.prtl.eu', '//cdn2.prtl.eu', $value);
		$value = str_ireplace('http://studyportals-cdn2.imgix.net', '//studyportals-cdn2.imgix.net', $value);

		// Portal urls
		$value = str_ireplace('http://www.admissiontestportal.com', 'https://www.admissiontestportal.com', $value);
		$value = str_ireplace('http://www.preparationcoursesportal.com', 'https://www.preparationcoursesportal.com', $value);

		return $value; //NOSONAR
	}
public static function replaceHttpsUrls($value){

		// CDN resources
		$value = str_ireplace('http://cdn.prtl.eu', '//cdn.prtl.eu', $value);
		$value = str_ireplace('http://cdn2.prtl.eu', '//cdn2.prtl.eu', $value);
		$value = str_ireplace('http://studyportals-cdn2.imgix.net', '//studyportals-cdn2.imgix.net', $value);

		// Portal urls
		$value = str_ireplace('http://www.admissiontestportal.com', 'https://www.admissiontestportal.com', $value);
		$value = str_ireplace('http://www.preparationcoursesportal.com', 'https://www.preparationcoursesportal.com', $value);

		return $value; //NOSONAR
	}
public static function replaceHttpsUrls ( $ value ) { // CDN resources $ value = str_ireplace ( 'http://cdn.prtl.eu' , '//cdn.prtl.eu' , $ value ) ; $ value = str_ireplace ( 'http://cdn2.prtl.eu' , '//cdn2.prtl.eu' , $ value ) ; $ value = str_ireplace ( 'http://studyportals-cdn2.imgix.net' , '//studyportals-cdn2.imgix.net' , $ value ) ; // Portal urls $ value = str_ireplace ( 'http://www.admissiontestportal.com' , 'https://www.admissiontestportal.com' , $ value ) ; $ value = str_ireplace ( 'http://www.preparationcoursesportal.com' , 'https://www.preparationcoursesportal.com' , $ value ) ; return $ value ; //NOSONAR }
Find en replaces all http urls which should be https.

@param {string} $value

@return string
Find en replaces all http urls which should be https .