GUACAMOLE-784: Tolerate port number within X-Forwarded-For header

Currently the Regex pares only Header with IPs only.
But some Cloud Services provide Header with “IP:Port” and they are not changeable.

A change in the Line 96 and 101 could may solve this topic.

BG
Sporeno

GUACAMOLE-784: Changed Quantifiers of Port extension in the IP-Regexs

GUACAMOLE-784: Changed IP-Regexs to accept also Ports with 5 Digits (Fix)

GUACAMOLE-784: Separated Port-Regex from IP-Regexes to avoid duplicated Code for IPv4 and IPv6

Created new Constant for Port matching Regex

GUACAMOLE-784: Change Comments according standard formatting for JavaDoc comments
GUACAMOLE-784: Tolerate port number within X-Forwarded-For header

Currently the Regex pares only Header with IPs only.
But some Cloud Services provide Header with “IP:Port” and they are not changeable.

A change in the Line 96 and 101 could may solve this topic.

BG
Sporeno

GUACAMOLE-784: Changed Quantifiers of Port extension in the IP-Regexs

GUACAMOLE-784: Tolerate port number within X-Forwarded-For header
1 file changed