TPAC: Odd Login to 404 behavior
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Fix Released
|
Medium
|
Unassigned | ||
2.5 |
Fix Released
|
Medium
|
Unassigned |
Bug Description
As it stands, in a default install, if you browse to
you are redirected to a login page, and if you login, you then get to the 404 page. This behavior is caused by the fact that *any*
URLs which do not match a few select cases are assumed to be "secure" resources, when in fact they might not even exist.
This branch catches any attempt to browse this 'base' and simply redirects to the "home" page instead.
While addresses the most obvious and likely 404 of this type, we might consider catching some other cases (e.g. eg/opac/record/).
In addition (or as an alternative), we could also create a function call which simply checks the validity of a URL before we ask the
user to login to see it.
I am tagging this as a pullrequest, as I think this small change makes the biggest difference, but I'd also like for this bug to have some conversation about how we want to deal with this behavior at the larger scale.
Thanks,
Dan
Changed in evergreen: | |
milestone: | 2.4.0-alpha1 → 2.4.0-beta |
Changed in evergreen: | |
milestone: | 2.4.0-beta → 2.4.0-rc |
importance: | Undecided → Medium |
assignee: | nobody → Dan Wells (dbw2) |
Changed in evergreen: | |
milestone: | 2.4.0-rc → none |
no longer affects: | evergreen/2.2 |
no longer affects: | evergreen/2.3 |
Changed in evergreen: | |
assignee: | Dan Wells (dbw2) → nobody |
milestone: | none → 2.6.0-beta1 |
Changed in evergreen: | |
status: | Fix Committed → Fix Released |
no longer affects: | evergreen/2.4 |
Confirmed the behavior. Not able to test the patch at this time, however.