Hi,
Today I found that in Qt 4.6, QUrl would not parse a url if the host name contains the underscore.
I understand that according to the standard, underscore is not allowed in the domain name, however, there ARE some urls with underscores, especially for some subdomain.
For example, i came across this feed's url:
http://hero_hki.mysinablog.com/rss.php
and QUrl("http://hero_hki.mysinablog.com/rss.php").toString() returns "http:/rss.php"
Firefox and Google Chrome can access this page anyway.
(I tested with Qt 4.6 tp1. Not so sure whether this issue is fixed in the release, cuz I did not have time to compile the release version on my laptop for developing my toy feed reader.)
Any advice? Thanks :)