Lee-W commented on code in PR #41665:
URL: https://github.com/apache/airflow/pull/41665#discussion_r1726915375
##########
airflow/www/static/js/dag/details/taskInstance/ExtraLinks.tsx:
##########
@@ -53,6 +53,14 @@ const ExtraLinks = ({
const isExternal = (url: string | null) =>
url && /^(?:[a-z]+:)?\/\//.test(url);
+ const isSanitised = (url: string | null) => {
+ if (!url) {
+ return true;
Review Comment:
but after a second thought, do we need to enable it in that case?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]