mirror of
https://github.com/humhub/humhub.git
synced 2025-01-16 21:58:17 +01:00
Fix #3911: Error thrown in UrlRule for non existing user names
This commit is contained in:
parent
66891348e9
commit
1a05660361
@ -5,6 +5,7 @@ HumHub Change Log
|
||||
---------------------
|
||||
- Fix #3908: `DateHelper::parseDateTime()` returns invalid date if given value is not parsable
|
||||
- Fix #3905: `accountTopMenu` renders redundant `<li>` tag
|
||||
- Fix #3911: Error thrown in UrlRule for non existing user names
|
||||
|
||||
1.4.3 (March 4, 2020)
|
||||
---------------------
|
||||
|
@ -77,12 +77,10 @@ class UrlRule extends BaseObject implements UrlRuleInterface
|
||||
}
|
||||
$params = $request->get();
|
||||
$params['cguid'] = $user->guid;
|
||||
} else {
|
||||
// Allow controller to handle 404
|
||||
$params['cguid'] = 'not found';
|
||||
return [$parts[2] , $params];
|
||||
}
|
||||
|
||||
return [$parts[2], $params];
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user