Skip to content

Commit

Permalink
Comment out link_white_list
Browse files Browse the repository at this point in the history
  • Loading branch information
jermOSS committed Jul 19, 2024
1 parent 82217ce commit 01876cc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/server/config/setupTranslations.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ const staticTranslatedTemplates = [
"errors/500",
];

// Removed because <a> tags are no longer in whitelist
/*
const link_white_list = [
"/",
"/login",
Expand Down Expand Up @@ -57,6 +59,7 @@ const link_white_list = [
"https://github.com/Infinite-Chess/infinitechess.org",
"https://discord.com/channels/1114425729569017918/1114427288776364132/1240014519061712997"
];
*/

const xss_options = {
whiteList: {
Expand Down

0 comments on commit 01876cc

Please sign in to comment.