Quite a few stackers have written up their experiences there: #418100/related
@ekzyis bug. This link was https://stacker.news/items/418100/related
Maybe it should render as #418100/related
reply
0 sats \ 5 replies \ @ek 8 Feb
Oh, I assumed there can nothing come after /items/[0-9]+ while writing the code.
Maybe it should render as #418100/related
Makes sense!
reply
Basically everything in pages/items/[id] is a potential route plus any query params like commentId which is worth keeping the special case for. There might be a way to do this generically.
reply
706 sats \ 3 replies \ @ek 8 Feb
Oh, of course, I could have looked in our pages folder. But I guess no one tests their assumptions when they are already convinced they are right.
reply
We all just need to remove that part of our brain that's convinced we're right and none of this would ever happen.
reply
0 sats \ 1 reply \ @ek 8 Feb
that part of our brain that's convinced we're right
where is that part though
reply
I don't want to doxx the person that I'm pretty sure would make an excellent guess.
reply
Yeah, I've been reading a lot and decided to give it a try too)
reply