Failure

User tests: Successful: Unsuccessful:

avatar elinw
elinw
19 May 2013

JFeed uses XMLReader to connect to and process feeds. XMLReader does not support IDN formated URIs. Therefore when users of JFeed attempt to process IDN URIs they fail.

This pull request solves this problem by adding support for an external library that can translate from and to IDN/UTF8 and Puny Code which is the way that servers handle these domains.

In addition to the library this adds 4 methods, 2 for each direction. toPunycode and fromPunycode handle strings. urlToPunycode and urlToUtf8 handle full uris be coping with the punctuation characters and scheme.

Use of these are shown in an example com_newsfeeds where Puny Code urls are translated into IDN urls when displayed on the category list layout.

avatar elinw elinw - open - 19 May 2013
avatar elinw elinw - close - 23 Jun 2013
avatar lasinducharith lasinducharith - reference | - 24 Jun 13
avatar garyamort garyamort - reference | - 2 Dec 13

Add a Comment

Login with GitHub to post a comment