Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3475db04463b13defd77e477cb640bb7937b7920
      
https://github.com/WebKit/WebKit/commit/3475db04463b13defd77e477cb640bb7937b7920
  Author: LI Qingwu <[email protected]>
  Date:   2025-07-24 (Thu, 24 Jul 2025)

  Changed paths:
    M Tools/MiniBrowser/wpe/qt6/main.cpp
    M Tools/MiniBrowser/wpe/qt6/main.qml

  Log Message:
  -----------
  [WPE][Qt6] WPE MiniBrowser use QUrl::fromUserInput for URL processing

https://bugs.webkit.org/show_bug.cgi?id=295967

Reviewed by Patrick Griffis.

The WPE Qt MiniBrowser currently processes user-entered URLs as-is, which 
doesn't
handle common user input patterns like domain names without protocols or local 
file
paths. This causes URLs like "google.com" or local files to fail loading.

Integrates QUrl::fromUserInput() for both command-line arguments and
QML user input, following the recommendation in WPEQtView::setUrl documentation.
This enables automatic protocol inference, local file handling,
and proper URL validation.

Signed-off-by: LI Qingwu <[email protected]>
Canonical link: https://commits.webkit.org/297852@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to