This reverts commit 1c38e646c3223571988b33e6a0d481426e3b6931.
@@ -2248,7 +2248,7 @@ function embed_wmedia(width, height, link) {
*/
function url_remove_credentials($url) //FreshRSS
{
- return preg_replace('#(?<=^https?://)[^/:@]+:[^/:@]+@#', '', $url);
+ return preg_replace('#(?<=//)[^/:@]+:[^/:@]+@#', '', $url);
}