Skip to content

Commit 29aa03b

Browse files
authored
Merge pull request #4451 from Roardom/link-double-encoding
(Fix) BBCode link double encoding
2 parents 22ee788 + 70f7bf4 commit 29aa03b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Helpers/Bbcode.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -519,6 +519,6 @@ private function sanitizeUrl(string $url, ?bool $isImage = null): string
519519
}
520520
}
521521

522-
return htmlspecialchars($url, ENT_QUOTES | ENT_HTML5);
522+
return $url;
523523
}
524524
}

0 commit comments

Comments
 (0)