News for hackers. Stuff that matters.
Re:Why Bother with What Three Words? by tsimionescu on Friday March 29, 2019 @04:16AM (#19519955)
Minor nitpick: URLs do tend to be used with the larger scope first (i.e. /resource/child/subchild). Domain names are the odd exception.
Re:Why Bother with What Three Words? by thaumasiotes on Friday March 29, 2019 @07:37AM (#19520713)
HTTP paths are not conceptually hierarchical at all; they're opaque strings.

People set them up that way in practice because they prefer thinking that way. Or, I guess, because they want to sort their URLs meaningfully. Does that happen?

Re:Why Bother with What Three Words? by mirimir on Friday March 29, 2019 @07:53AM (#19520788)
That's a fair point. But the fact is that people do tend to set them up as hierarchies.

But maybe you're right that most people don't understand that, given how adversaries exploit stuff like "games.apple.com.foobar.hosting.tw". You wouldn't fall for that if you understood the system.

Re:Why Bother with What Three Words? by boomlinde on Friday March 29, 2019 @12:02PM (#19522804)
While they're not conceptually hierarchical, it's not fair to say that they are opaque strings either. "////" is not a valid HTTP 1.1 path, for example, and "" means "/"