fix issue pointed out in #54
Some checks failed
Build and Test / friends (push) Failing after 6m16s
Build and Test / sonic-transformed (push) Successful in 7m59s
Build and Test / wii-sports-club (push) Successful in 8m1s
Build and Test / minecraft-wiiu (push) Successful in 8m4s
Build and Test / fast-racing-neo (push) Successful in 8m6s
Build and Test / mario-tennis (push) Successful in 8m17s
Build and Test / splatoon-testfire (push) Successful in 8m16s
Build and Test / wii-u-chat (push) Successful in 8m29s
Build and Test / puyopuyo (push) Successful in 8m34s
Build and Test / splatoon (push) Successful in 8m37s
Build and Test / super-mario-maker (push) Successful in 8m49s

thanks @jonbarrow for informing us
This commit is contained in:
redbinder0526 2026-08-07 18:03:19 +02:00
commit dca2900263

View file

@ -93,6 +93,10 @@ impl TryFrom<&str> for StationUrl {
fn try_from(value: &str) -> Result<Self, ()> {
let (url_type, options) = value.split_at(value.find(":/").ok_or(())?);
if value.len() >= 1024 {
return Err(());
}
let options = &options[2..];
let url_type = match url_type {