concrete5/concrete5 — pull request #632 by Raverix (2012-08-26 02:17:36+00:00)
Title: Bug Fix, Page::getByPath('/') fails to return home page.

Fixes a bug, where if you attempted:

Page::getByPath('/')

the function would fail to return the home page because the rtrim function removes the path entirely.