6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
7/30/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#6560] admin/setup/config.php doesn't trap invalid applicatione
*
Your Email Address
*
Spam protection
Enter the letters below:
\ /.___..__ .._. >< | [__) | | / \ | | \__|_|_
Comment
> In admin/setup/config.php:29-39, there is: > > $app = Util::getFormData('app'); > > $appname = $registry->get('name', $app); > > $title = sprintf(_("%s Setup"), $appname); > > > > if ($app === null && > > in_array($app, $registry->listApps(array('inactive', 'hidden', > 'notoolbar', 'active', 'admin')))) { > > $notification->push(_("Invalid application."), 'horde.error'); > > $url = Horde::applicationUrl('admin/setup/index.php', true); > > header('Location: ' . $url); > > exit; > > } > > > > The logic doesn't capture invalid applications correctly: the logic > says throw an invalid application error when not given an app and > "null" is a listed application. In the field, if you manually alter > the app GET line variable to something non-existent, you get the > horde application setup, instead of the invalid application error. > > > > I believe the logic should be throw an invalid application error when > not given an app or the app is not a listed application. Patch > attached.
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers