What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 134 Stack Exchange communities.

When using the /review page on stackoverflow.com I've noticed that the link at the bottom of the page, "get 30 more" goes to the homepage.

I expect that this should point back to the /review page so I can get 30 more to review.

Its not a big problem as a refresh sorts it out.

share|improve this question

1 Answer 1

up vote 8 down vote accepted

Yes, you are right - it incorrectly uses <a href="">30 more</a> which varies between browsers; on some (chrome, for example) it is interpreted as "current", and on others (IE, for example) it is interpreted as "root".

Fixing. Out of curiosity, I'd love to know whether either is demonstrably the correct behaviour (html standards), or whether this is undefined (in which case either is broadly legitimate).

share|improve this answer
    
I think that empty href is not valid, or at least not good practice.. I've always used # for empty links and saw others using stuff like href="javascript:void(0);" but personally dislike it. Edit: here is recent discussion about it. :) –  Shadow Wizard Sep 6 '11 at 12:17
    
So in fact, neither is correct then: "As Stated in RFC 2396: A URI reference that does not contain a URI is a reference to the current document." ;p –  Marc Gravell Sep 6 '11 at 12:22
    
Actually, Chrome and Firefox are correct while IE is wrong. HTML4 explicitly links to RFC 1808 which describes the process of resolving relative URLs: "If the embedded URL is entirely empty, it inherits the entire base URL (i.e., is set equal to the base URL) and we are done." By default, the base URL is the URL of the current document. –  Wladimir Palant Sep 6 '11 at 12:34
    
Well, it's more of "what is better approach" than "what is valid".. :) –  Shadow Wizard Sep 6 '11 at 12:39
    
Not that it matters... at the next deploy the url will be explicit –  Marc Gravell Sep 6 '11 at 12:48
    
Didn't realise that the different browsers handled the empty href in different ways. Good to know. –  ghostJago Sep 6 '11 at 12:48
4  
Consulting the RFC is a lot of work; it's so much easier to just assume IE is wrong –  Michael Mrozek Sep 6 '11 at 12:51
1  
So the lesson here... is that IE users don't review, or at least aren't dedicated when they do? –  Pops Sep 6 '11 at 16:25
    
@Popular Demand I spotted the bug whilst reviewing using IE :P –  ghostJago Sep 6 '11 at 16:45
1  
@ghost, right, but the /review page has existed since 2010! –  Pops Sep 6 '11 at 16:54

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .