html5rocks/www.html5rocks.com — pull request #517 by petele (2013-07-26 19:30:02+00:00)
Title: Fixes #507 & #416, ensures that /tutorials|features|mobile|gaming|business have trailing / added

**507** These pages were being tracked by Analytics as two pages, for example /en/mobile and /en/mobile/ This fix causes /en/mobile to issue a 301 (Moved Permanently) and redirect the user to /en/mobile/ Also tested and verified with query strings, for example /en/tutorails?page=2 will redirect to /en/tutorials/?page=2

**416** On /en/mobile/ all tutorials were being shown because the relpath was mobile/, and was being compared against mobile and failed so all tutorials were shown. This fix compares against the correct string.