WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
295967
[WPE][Qt6] WPE Mini Browser doesn't handle user input URLs according to WPEView API documentation
https://bugs.webkit.org/show_bug.cgi?id=295967
Summary
[WPE][Qt6] WPE Mini Browser doesn't handle user input URLs according to WPEVi...
Qing-wu.Li@leica-geosystems.com.cn
Reported
2025-07-15 00:24:10 PDT
https://github.com/WebKit/WebKit/blob/4fa98a51e419fa0e98420fb87d6cdce44c7ff726/Source/WebKit/UIProcess/API/wpe/qt5/WPEQtView.cpp#L226
The Qt6 WPE mini browser application fails to properly parse user-entered URLs using QUrl::fromUserInput() as recommended by the WPEView API documentation, resulting in limited URL input support. Description According to the WPEView API documentation in Source/WebKit/UIProcess/API/wpe/qt5/WPEQtView.cpp, function WPEQtView::setUrl. However, the current Qt6 WPE mini browser implementation in main.cpp and main.qml does not follow this guideline. The application directly passes user input to WPEView.url without calling QUrl::fromUserInput() for preprocessing. Impact This causes several usability issues: Users cannot enter incomplete URLs. Local file paths may not be handled correctly.
Attachments
Add attachment
proposed patch, testcase, etc.
EWS
Comment 1
2025-07-24 23:35:07 PDT
Committed
297852@main
(3475db04463b): <
https://commits.webkit.org/297852@main
> Reviewed commits have been landed. Closing PR #48039 and removing active labels.
Radar WebKit Bug Importer
Comment 2
2025-07-24 23:36:15 PDT
<
rdar://problem/156674165
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug