1. Marcin Kuzminski
  2. RhodeCode
  3. Issues

Issues

Issue #370 resolved

Ending Slash in a URL Request Throws Error to Logs / 500 Error to UI

David Hoffman
created an issue

Let's say we have a repo_group called DAVID.

If I browse to http://rhodecode/DAVID I see the repos in that repo_group.

HOWEVER

If I go to http://rhodecode/DAVID/ (notice the trailing slash) I get a 500 Error in my browser and and it puts the following in the logs:

{{{ Error - <type 'exceptions.AttributeError'>: 'NoneType' object has no attribute 'group_id' }}}

The reality is that it is a "nuisance bug" more than anything, but it should probably be handled more gracefully.

http://pastebin.com/n5DxjVQ6

Comments (1)

  1. Log in to comment