×
Namespaces

Variants
Actions
(Difference between revisions)

Limitation on using ':' character in Series 40 (Known Issue)

From Nokia Developer Wiki
Jump to: navigation, search
hamishwillee (Talk | contribs)
m (Hamishwillee - Bot change of template (Template:KnowledgeBase) - now using Template:ArticleMetaData)
hamishwillee (Talk | contribs)

Revision as of 07:15, 14 June 2012

Template:KBTS


Article Metadata
Tested with
Devices(s): Series 40 devices
Compatibility
Platform(s): Series 40
Series 40
Article
Created: User:Technical writer 1 (29 May 2008)
Last edited: hamishwillee (14 Jun 2012)

Description

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.

Solution

When defining URL for network resources, avoid using the the character ':' in the URL.

83 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.

 

Thank you!

We appreciate your feedback.

×