Details
-
Bug
-
Resolution: Invalid
-
Not Evaluated
-
None
-
5.0.0 Beta 1
-
Mac OS X 10.8
Description
#include <QUrl> #include <QDebug> int main(int argc, char *argv[]) { QUrl url; url.setScheme(QLatin1String("http")); url.setAuthority("foo.bar.com"); url.setPath("bla/blubb"); qDebug() << url << url.isValid(); url.setPath("/bla/blubb"); qDebug() << url << url.isValid(); }
Running this with 4.8 gives
QUrl( "http://foo.bar.com/bla/blubb" ) true QUrl( "http://foo.bar.com/bla/blubb" ) true
Running this with Qt 5 gives
QUrl( "" ) false QUrl( "http://foo.bar.com/bla/blubb" ) true
Attachments
For Gerrit Dashboard: QTBUG-27728 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
96213,2 | Improved QUrl breaking information | 5.3 | qt/qtdoc | Status: MERGED | +2 | 0 |