This is an automated email from the ASF dual-hosted git repository.

Lee-W pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new 2c2cc5cfc6b Escape icon insertion in registry search results template 
(#71618)
2c2cc5cfc6b is described below

commit 2c2cc5cfc6bdaf0b592787f8393a2261da812f2a
Author: Wei Lee <[email protected]>
AuthorDate: Mon Aug 17 12:40:45 2026 +0800

    Escape icon insertion in registry search results template (#71618)
---
 registry/src/js/search.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/registry/src/js/search.js b/registry/src/js/search.js
index 1f984183418..efcff79f0eb 100644
--- a/registry/src/js/search.js
+++ b/registry/src/js/search.js
@@ -112,7 +112,7 @@
 
       return `
         <a href="${escapeHtml(result.url)}" 
class="${escapeHtml(resultType)}${index === selectedIndex ? ' selected' : ''}" 
data-index="${index}">
-          <span>${icon}</span>
+          <span>${escapeHtml(icon)}</span>
           <div>
             <div>
               ${escapeHtml(name)}

Reply via email to