Commit e5290d2
committed
Navigation: Added support for authority-less URI schemes.
For URI schemes like "qrc:" (Qt resource) which do not include an
authority but only a path the method $.mobile.path.getLocation()
incorrectly returns a URL with a double slash after the scheme name.
In a Qt Webkit ThinClient application this resulted in continuously
adding up slashes in front of the path (e.g. "qrc://////index.html").1 parent 08efc5b commit e5290d2
File tree
1 file changed
+9
-4
lines changed1 file changed
+9
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
57 | 62 | | |
58 | 63 | | |
59 | 64 | | |
| |||
0 commit comments