Skip to content

Commit 5d13be2

Browse files
Potential fix for code scanning alert no. 4: Client-side cross-site scripting (#645)
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
1 parent 1160014 commit 5d13be2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/golf_ui/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@
171171
username = state.username;
172172
register_holder.className = "gone";
173173
new_game_holder.className = "";
174-
log.innerHTML = "USER: " + username;
174+
log.textContent = "USER: " + username;
175175
return;
176176
}
177177

0 commit comments

Comments
 (0)