Describe the bug
The problem is when iframe src includes a URI fragment, like #something, it won't load when you try to load it from disk.
To Reproduce
Minimal reproducible example placed here:
https://github.com/olegshilov/tauri-testing/tree/iframe-issue
Steps to reproduce:
- clone
- install dependencies
- run
yarn start or yarn build
Expected behavior
Every iframe with fragments in URL must be rendered correctly
Screenshots

Platform and Versions (please complete the following information):
❯ yarn tauri info
app:spawn Running "/Users/olegshilov/Documents/tauri-testing/.yarn/unplugged/@tauri-apps-cli-npm-1.0.0-beta.2-71cdee115b/node_modules/@tauri-apps/cli/bin/tauri-cli tauri info" +0ms
Operating System - Mac OS, version 11.4.0 X64
Node.js environment
Node.js - 15.7.0
@tauri-apps/cli - 1.0.0-beta.1
@tauri-apps/api - Not installed
Global packages
npm - 7.5.3
yarn - 3.0.0-rc.2.git.20210514.hash-4d53b9eb
Rust environment
rustc - 1.52.1
cargo - 1.52.0
App directory structure
/.yarn
/app
/src-tauri
/.git
App
tauri.rs - 1.0.0-beta.1
build-type - bundle
CSP - default-src blob: data: filesystem: ws: http: https: 'unsafe-eval' 'unsafe-inline' 'self' img-src: 'self'
distDir - ../app
devPath - ../app
Describe the bug
The problem is when iframe src includes a URI fragment, like
#something, it won't load when you try to load it from disk.To Reproduce
Minimal reproducible example placed here:
https://github.com/olegshilov/tauri-testing/tree/iframe-issue
Steps to reproduce:
yarn startoryarn buildExpected behavior
Every iframe with fragments in URL must be rendered correctly
Screenshots

Platform and Versions (please complete the following information):