Skip to content

[Bug] BlazorWebView : File request with query parameters not found #100

@Yu-Core

Description

@Yu-Core

I am trying a demo using Gtk BlazorWebView
But the icon always fails to load
I found that the request for the icon file contains query parameters. If the query parameters are removed, it can load normally

src:url("../fonts/materialdesignicons-webfont.woff2?v=7.2.96")

GtkWebViewManager did not process query parameters
https://github.com/jsuarezruiz/maui-linux/blob/70a57686a0f07ce3e77a0659fb3b540d3cdfff9b/src/BlazorWebView/src/Gtk.SharedSource/GtkWebViewManager.cs#L81
WebView2WebViewManager has processed it
https://github.com/jsuarezruiz/maui-linux/blob/70a57686a0f07ce3e77a0659fb3b540d3cdfff9b/src/BlazorWebView/src/SharedSource/WebView2WebViewManager.cs#L310

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions