Indefero

Indefero Commit Details


Date:2009-02-16 15:18:09 (15 years 10 months ago)
Author:Loic d'Anterroches
Branch:dev, develop, feature-issue_links, feature.better-home, feature.content-md5, feature.diff-whitespace, feature.download-md5, feature.issue-links, feature.issue-of-others, feature.issue-summary, feature.search-filter, feature.webrepos, feature.wiki-default-page, master, release-1.1, release-1.2, release-1.3
Commit:d1b139bb30d1c7a42e31be29ca6f0ae6db1f0a94
Parents: 37f94d8581a0ec47a13f20e9b76b28dafabc7a13
Message:Better redirection to have canonical URLs.

Changes:

File differences

src/IDF/Views/Source.php
159159
160160
161161
162
163
164
165
162166
163167
164168
$branches[0]));
if (substr($request_file, -1) == '/') {
$request_file = substr($request_file, 0, -1);
$url = Pluf_HTTP_URL_urlForView('IDF_Views_Source::tree',
array($match[1], $match[2],
$request_file));
return new Pluf_HTTP_Response_Redirect($url, 301);
}
if ('commit' != $scm->testHash($commit, $request_file)) {
// Redirect to the first branch

Archive Download the corresponding diff file

Page rendered in 0.06848s using 13 queries.