Mailing List Archive

[The Trac Project] #3817: /admin and 500 error
#3817: /admin and 500 error
-------------------------------------------------------------+--------------
Reporter: Pedro Algarvio, aka, s0undt3ch <ufs@ufsoft.org> | Owner: cmlenz
Type: defect | Status: new
Priority: normal | Milestone:
Component: webadmin | Version: devel
Severity: major | Keywords:
-------------------------------------------------------------+--------------
Trac webadmin should not throw a 500 error when an un-authorised user
tries to access /admin, it should either state that the user '''must'''
login, redirect to WikiStart or throw a 404 or 403.

--
Ticket URL: <http://trac.edgewall.org/ticket/3817>
The Trac Project <http://trac.edgewall.org/>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Tickets" group.
To post to this group, send email to trac-tickets@googlegroups.com
To unsubscribe from this group, send email to trac-tickets-unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.se/group/trac-tickets
-~----------~----~----~----~------~----~------~--~---
Re: [The Trac Project] #3817: /admin and 500 error [ In reply to ]
#3817: /admin and 500 error
-------------------------------------------------------------+--------------
Reporter: Pedro Algarvio, aka, s0undt3ch <ufs@ufsoft.org> | Owner: jonas
Type: enhancement | Status: new
Priority: normal | Milestone: 0.10.1
Component: general | Version: 0.10
Severity: major | Resolution:
Keywords: |
-------------------------------------------------------------+--------------
Changes (by Pedro Algarvio, aka, s0undt3ch <ufs@ufsoft.org>):

* owner: cmlenz => jonas
* type: defect => enhancement
* version: devel => 0.10
* component: webadmin => general
* milestone: => 0.10.1

Comment:

Sorry the above 404 should be 401 - Authorization Required

One more thing though, the 500 error is not one of those the simply get's
us a blanc page with a traceback, the web UI shows up good, but internally
it sends a 500 error, which in my opinion is not good, or at the least,
could be better.

--
Ticket URL: <http://trac.edgewall.org/ticket/3817#comment:1>
The Trac Project <http://trac.edgewall.org/>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Tickets" group.
To post to this group, send email to trac-tickets@googlegroups.com
To unsubscribe from this group, send email to trac-tickets-unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.se/group/trac-tickets
-~----------~----~----~----~------~----~------~--~---
Re: [The Trac Project] #3817: /admin and 500 error [ In reply to ]
#3817: /admin and 500 error
-------------------------------------------------------------+--------------
Reporter: Pedro Algarvio, aka, s0undt3ch <ufs@ufsoft.org> | Owner: jonas
Type: enhancement | Status: new
Priority: normal | Milestone: 0.10.1
Component: general | Version: 0.10
Severity: major | Resolution:
Keywords: |
-------------------------------------------------------------+--------------
Comment (by mgood):

Replying to [comment:1 Pedro Algarvio, aka, s0undt3ch <ufs@ufsoft.org>]:
> Sorry the above 404 should be 401 - Authorization Required

When sending a 401 response the server also needs to include an
authentication challenge, like you would get when clicking on /login. We
don't know how the user has configured authentication, so it's impossible
to send the challenge. A 403 error would probably be appropriate.

--
Ticket URL: <http://trac.edgewall.org/ticket/3817#comment:2>
The Trac Project <http://trac.edgewall.org/>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Tickets" group.
To post to this group, send email to trac-tickets@googlegroups.com
To unsubscribe from this group, send email to trac-tickets-unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.se/group/trac-tickets
-~----------~----~----~----~------~----~------~--~---
Re: [The Trac Project] #3817: /admin and 500 error [ In reply to ]
#3817: /admin and 500 error
-------------------------------------------------------------+--------------
Reporter: Pedro Algarvio, aka, s0undt3ch <ufs@ufsoft.org> | Owner: cmlenz
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: webadmin | Version: 0.10
Severity: major | Resolution:
Keywords: |
-------------------------------------------------------------+--------------
Changes (by mgood):

* owner: jonas => cmlenz
* component: general => webadmin
* milestone: 0.10.1 =>

Comment:

Actually the milestones don't apply to WebAdmin since's it's not part of
the core yet.

--
Ticket URL: <http://trac.edgewall.org/ticket/3817#comment:3>
The Trac Project <http://trac.edgewall.org/>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Tickets" group.
To post to this group, send email to trac-tickets@googlegroups.com
To unsubscribe from this group, send email to trac-tickets-unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.se/group/trac-tickets
-~----------~----~----~----~------~----~------~--~---