79219597

Date: 2024-11-24 07:53:01
Score: 1
Natty:
Report link

Can you check that the httpRequest.getHeader("origin") value is correctly retrieved and is not encoded. Log the origin value to confirm its format.

System.out.println("Origin Header: " + origin); // For debugging

If it's encoded can you decode and add

final String origin = java.net.URLDecoder.decode(httpRequest.getHeader("origin"), "UTF-8");

Reasons:
  • Has code block (-0.5):
  • Starts with a question (0.5): Can you
  • Low reputation (1):
Posted by: Tarunkumar Aghara