DioxusLabs / DioxusLabs/dioxus
C:// and file:// paths are rejected by the webview
- Dominant language
- Rust
- Stars
- 39.1k
- Forks
- 1.9k
- Avg merge
- 4d 10h
- Merged PRs (30d)
- 4
Description
**Problem**
If you use an absolute path on dioxus desktop on windows, it will be blocked by the webview and the asset will not resolve.
**Steps To Reproduce**
Steps to reproduce the behavior:
- Find an absolute path to an image on windows
- Use an image element: `img { src: "yourpath" } (where yourpath is on a different drive on windows)
- Run the app
**Expected behavior**
Dioxus should either provide a different way to link to absolute paths on windows or fix absolute paths
**Environment:**
- Dioxus version: `master`
- Rust version: `nightly`
- OS info: Windows
- App platform: `desktop`
**Questionnaire**
- [ ] I'm interested in fixing this myself but don't know where to start
- [ ] I would like to fix and I have a solution
- [ ] I don't have time to fix this right now, but maybe later
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.