Update web routes, fix atom feeds for account usernames containing a dot

This commit is contained in:
Daniel Supernault 2022-01-25 00:05:00 -07:00
parent 80c4126d48
commit 8c54ab57ac
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7
1 changed files with 1 additions and 1 deletions

View File

@ -516,7 +516,7 @@ Route::domain(config('pixelfed.domain.app'))->middleware(['validemail', 'twofact
Route::group(['prefix' => 'users'], function () {
Route::redirect('/', '/');
Route::get('{user}.atom', 'ProfileController@showAtomFeed');
Route::get('{user}.atom', 'ProfileController@showAtomFeed')->where('user', '.*');
Route::get('{username}/outbox', 'FederationController@userOutbox');
Route::get('{username}/followers', 'FederationController@userFollowers');
Route::get('{username}/following', 'FederationController@userFollowing');