Limitation on using ':' character in Series 40 (Known Issue)
m (Hamishwillee - Bot update - Merge KB into wiki)
m (moved TSJ000993 - Limitation on using ':' character in Series 40 to Limitation on using ':' character in Series 40)
Revision as of 06:16, 14 June 2012
According to RFC 2396 (Uniform Resource Identifiers (URI) Generic Syntax), the character ":" is considered to be one of the reserved characters within the query component, meaning that such a character cannot be used generically.
In Series 40, the character ':' has been reserved to be used as a port delimiter in network requests. If a port number has not been defined after the character ':', the prompt 'java.lang.IllegalArgumentException: invalid port' will result while performing a network request.
When defining URL for network resources, avoid using the the character ':' in the URL.