Skip to main content
Antwoord

Don't remove the < and > symbols in chat

  • December 8, 2023
  • 2 reacties
  • 48 Bekeken

When typing in the Customer Service chat-box, anything typed between `<` and `>` is removed, which doesn’t work if you ask a question like “Do I get a different refund if my train is <30 mins late or >60 mins late?”

You can escape code injection attempts in a smarter way which also allows customers to user the “greater than” and “less than” symbols. 

 

 

Beste antwoord door Laura NS

Welcome to our NS Community, David H. Good catch! I've informed our responsible department,.

2 reacties

mrfreeze
Forum|alt.badge.img+3
  • Super user
  • December 8, 2023

Hi David H,

I just tested it, and you're right. I hope a moderator can inform the IT-department of this bug.


Laura NS
Moderator
  • Moderator
  • Antwoord
  • December 8, 2023

Welcome to our NS Community, David H. Good catch! I've informed our responsible department,.