7 ms·
This Story was submitted few days ago. Previous discussion: https://news.ycombinator.com/item?id=9645369 https://news.ycombinator.com/item?id=9645369
by B-Scan 11y ago
This Story was submitted few days ago. Previous discussion: https://news.ycombinator.com/item?id=9645369 https://news.ycombinator.com/item?id=9645369
- jackgavigan 11y agoLooks like the HN Submit script doesn't recognise the fact that $URL and $URL?$SPURIOUS_GARBAGE are actually the same URL...
- raverbashing 11y agoNo, this is by design.
- jackgavigan 11y agoWhy?
- pervycreeper 11y ago> $URL and $URL?$SPURIOUS_GARBAGE are actually the same URL They are not, in fact, even if you observe getting the same outcome from using both.
- reagency 11y agoYou are pedantically correct, the least useful kind of correct
- downandout 11y agoIf it didn't recognize them as distinct URLs, a significant percentage of links would be rejected as having already been submitted. Http://site.com/article.php?id=1234 and http://site.com/article.php?id=5678 http://site.com/article.php?id=5678 may be two legitimately unique articles.
- jackgavigan 11y agoThen it's not $SPURIOUS_GARBAGE, is it? My point is that it's not exactly rocket science to add an if/case statement in the Submit script that checks whether the URL being submitted is on a list of domains for which the '?' and anything after it should be disregarded. 'Twould also be great if it recognised that www.bbc.co.uk and www.bbc.com are effectively the same site.
- aerique 11y agoI think you underestimate how hard this is, especially since your suggested solution would be a maintenance nightmare. Also the problem isn't so bad to invest the non-trivial amount of time in it to fix it.