Bug Report: # in ohb titles breaks final pack download
BotB Academy Bug Reports and Feature Requests
Level 30 Chipist
post #121079 :: 2020.05.18 6:16am
  Xyz and xterm liēkd this
im 99% sure thats why u get a 404 if you try to download some finalpacks. i didnt check every battle but looks like every ohb with ####### in the title is affected
Level 21 Playa
post #121103 :: 2020.05.18 11:00am
  kleeder liēkd this
there might be some other characters that break it too. i'll see if i can deduce any others.
Level 20 Criticist
post #121120 :: 2020.05.18 2:10pm
  noodlebuckets liēkd this
botb gets pounded
Level 23 Chipist
post #121137 :: 2020.05.18 4:47pm
  xterm liēkd this
that's lood
Level 21 Playa
post #121210 :: 2020.05.19 6:09pm
  kleeder liēkd this
commas also do it:


Level 13 Chipist
post #121211 :: 2020.05.19 6:28pm
  xterm liēkd this
this is why you cant use C#
get it
Level 27 Chipist
post #121347 :: 2020.05.22 9:04am :: edit 2020.05.22 9:06am
  tennisers, xterm, argarak, kleeder and Savestate liēkd this
The finalpack can be restored by using a %23 in the URL in place of the wrong replacement characters where the # was. For example: https://battleofthebits.org/disk/battle/00004645/OHC04645%20OHB%3735113%20-%20draw%20for%20strobe!%20finalpack.zip is a broken link, whereas https://battleofthebits.org/disk/battle/00004645/OHC04645 OHB%23113 - draw for strobe! finalpack.zip works fine.
Level 21 Playa
post #121361 :: 2020.05.22 2:30pm
  tennisers liēkd this
hmm, so it's encoding as %3735. interestingly, the ascii value for % is 37, and for # is 35:


so it looks like maybe it's putting a % in front ("%#"), then converting those special characters to ascii ("3735") [note: not the same as the % code, because that's in hex], and then adding an extra % in front ("%3735").

that's my best guess at least :U

LOGIN or REGISTER to add your own comments!