Current Behavior
E.g.
https://crates.io/crates/agdb
Images in any of the following forms:
<img width="100" src="./agdb_web/public/images/db.png"
<img width="100" src="/agdb_web/public/images/db.png"
<img width="100" src="agdb_web/public/images/db.png"
Will result in incorrect URL:
https://github.com/agnesoft/agdb/raw/HEAD/agdb/agdb_web/public/images/db.png
The name of the crate is wrongly inserted after the HEAD part.
Expected Behavior
The URL does not have the crate name injected after HEAD part.
Steps To Reproduce
- Go to https://crates.io/crates/agdb
- Inspect any element of the images not being found.
- See incorrect URL.
Environment
Anything else?
No response
Current Behavior
E.g.
https://crates.io/crates/agdb
Images in any of the following forms:
Will result in incorrect URL:
The name of the crate is wrongly inserted after the HEAD part.
Expected Behavior
The URL does not have the crate name injected after HEAD part.
Steps To Reproduce
Environment
Anything else?
No response