4 ms·
Once had my Australian production system go down because a js plugin we were using had added .au to its list of media types. Integration had a different TLD. Re
by pechay 5y ago
Once had my Australian production system go down because a js plugin we were using had added .au to its list of media types. Integration had a different TLD.
Response I got from the author was 'LOL!'.
:)
- CodesInChaos 5y agoWhy is the application treating a TLD like a file extension?
- detaro 5y agoprobably because some broken code matched on the end of the URL, without checking if it was just the naked domain?
- cmpb 5y agoI'm going to have to find a way to work "naked domain" into my lexicon today, thanks!
- detaro 5y agoOn second thought, I actually used it wrong above: usually, naked domain specifically refers to the registered domain, i.e. without any subdomains.
- hinkley 5y agoEvery programming language has a library to parse urls. Please, for the love of your own mothers, people: stop pretending like you know how to parse urls like they're strings. You don't. And even if you can, you won't do it right every time. It's been demonstrated over and over again. Just use the already tested url facilities to give you the host/path/query parameters
- quesera 5y agoYet another reason Australia should have kept TLD .oz!