Indefero

Indefero Commit Details


Date:2008-09-04 10:38:29 (16 years 3 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:61b109d75ea65ff9e899bf8053a0c9a80234058e
Parents: 7dabb32e25d1fce09e2e835336f1cacc50702447
Message:Really fixed the project name with hyphen (-).

Changes:

File differences

src/IDF/Middleware.php
4444
4545
4646
47
47
4848
4949
5050
function process_request(&$request)
{
$match = array();
if (preg_match('#^/p/(\w+)/#', $request->query, $match)) {
if (preg_match('#^/p/([\-\w]+)/#', $request->query, $match)) {
try {
$request->project = IDF_Project::getOr404($match[1]);
} catch (Pluf_HTTP_Error404 $e) {

Archive Download the corresponding diff file

Page rendered in 0.07349s using 13 queries.