zotonic/zotonic — Issue #257: Admin logon redirect is broken w/ mod_translation enabled
Author: arjan
Created: 2011-11-10 07:23:26+00:00
State: open

When visiting /admin, i get the following:

```
{error,function_clause,
[{wrq,set_resp_header,
["Location",<<"/en/logon?p=%2Fadmin">>,
{wm_reqdata,#Port<0.15229>,
{dict,2,16,16,8,80,48,
{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]},
{{[],[],[],[],
[[zotonic_host|foobar]],
[[resource_module|resource_admin]],
[],[],[],[],[],[],[],[],[],[]}}},
undefined,"127.0.0.1",undefined,
{wm_log_data,1001320909777233953,undefined,
{1320,909777,233990},
'GET',
{8,
{"host",
{'Host',"127.0.0.1:8000"},
{"accept",
{'Accept',
"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"},
nil,
{"accept-l
```