~cadence/breezewiki-discuss

3

Breezewiki can't load pages with unusual titles

Details
Message ID
<06d97b62c5f58ac5384b1994197f0603159487ba@disroot.org>
DKIM signature
pass
Download raw message
A hour ago I was browsing MC Wiki and tried to load a page about Beta 1.8-pre2, but instead of actual content I got a loop of "redirects".

I assume, but not entirely sure, that the ";)" causes this problem. Can someone confirm this? 

https://breezewiki.com/minecraft/wiki/Java_Edition_Beta_1.8_Pre-release_2_;)
Details
Message ID
<f71330fa-0ac2-4f32-88bd-f23d70041229@disroot.org>
In-Reply-To
<06d97b62c5f58ac5384b1994197f0603159487ba@disroot.org> (view parent)
DKIM signature
pass
Download raw message
Looks like the correct URL is 
https://breezewiki.com/minecraft/wiki/Java_Edition_Beta_1.8_Pre-release_2_%3B)

Semicolons need to be escaped as %3B because they are special characters 
in URLs. If a semicolon is inserted directly it is treated as a "path 
parameter" (???). 
https://docs.racket-lang.org/net/url.html#%28def._%28%28lib._net%2Furl-structs..rkt%29._url%29%29

I'll have to figure out where the best place to do that conversion is. 
Should be able to fix this soonish!
Details
Message ID
<653a46ee-890c-4258-b0ed-161d7d120c62@disroot.org>
In-Reply-To
<f71330fa-0ac2-4f32-88bd-f23d70041229@disroot.org> (view parent)
DKIM signature
pass
Download raw message
Looks like the issue only happens when navigating from specific places. 
If you click a search popup item, or a link within a normal page, it's 
fine. If you click a result on the search page or as part of a category 
listing, it can be weird.

Should be straightforward to fix.

Cadence

14 Nov 2022 07:13:04 Cadence Ember <cadence@disroot.org>:

> Looks like the correct URL is 
> https://breezewiki.com/minecraft/wiki/Java_Edition_Beta_1.8_Pre-release_2_%3B)
>
> Semicolons need to be escaped as %3B because they are special 
> characters in URLs. If a semicolon is inserted directly it is treated 
> as a "path parameter" (???). 
> https://docs.racket-lang.org/net/url.html#%28def._%28%28lib._net%2Furl-structs..rkt%29._url%29%29
>
> I'll have to figure out where the best place to do that conversion is. 
> Should be able to fix this soonish!
Details
Message ID
<20221117232844.d1042cbb12c9a6ceb0d1ec46@disroot.org>
In-Reply-To
<f71330fa-0ac2-4f32-88bd-f23d70041229@disroot.org> (view parent)
DKIM signature
pass
Download raw message
Should be fixed now, please let me know if you spot any more problems!
Reply to thread Export thread (mbox)