Monotone-Parent: d93911609e298d0802a3f31c0cf88a9ca47ee584

Monotone-Revision: 14183e9d9367b240b6e0585031a87772c952285a

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2010-02-03T16:09:18
Monotone-Branch: ca.inverse.sogo
maint-2.0.2
Wolfgang Sourdeau 2010-02-03 16:09:18 +00:00
parent 93ff05dbd8
commit e350c7b90b
1 changed files with 2 additions and 1 deletions

View File

@ -223,7 +223,8 @@
else
{
oldLocation = [[context request] uri];
if (![oldLocation hasSuffix: @"/"]
if ([context clientObject]
&& ![oldLocation hasSuffix: @"/"]
&& ![oldLocation hasSuffix: @"/view"])
response = [self redirectToLocation:
[NSString stringWithFormat: @"%@/", oldLocation]];