View Issue Details

IDProjectCategoryView StatusLast Update
0002449SOGoWeb Calendarpublic2015-01-07 19:57
Reporterprauscher Assigned Toludovic  
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionsuspended 
PlatformLinuxOSDebianOS Version7.0
Product Version2.0.7 
Summary0002449: Export-URLs for Calendars are wrong
Description

Due to relative linking to CalDav(etc)-URLs in property-panel and a wrong link generated for the property Panel, these URLs are wrong:

URL of the property-panel generated in Webcalendar:
https://xxxxxx/SOGo/so/USER/Calendar//personal/properties

You see the double-slash in the URL? It may be caused by
<li id="/personal" owner="USER" class="_selected">Personal Calendar</li>

(which is part of the calendar list on the left side)

Steps To Reproduce
  1. Select any calendar
  2. Show properties (realize that the URL contains "//")
TagsNo tags attached.

Activities

ludovic

ludovic

2013-10-18 13:14

reporter   ~0006120

I don't have this issue, show your SOGo configuration.

prauscher

prauscher

2013-10-18 13:20

reporter  

sogo.conf (5,555 bytes)
prauscher

prauscher

2013-10-18 13:20

reporter  

nginx-sogo.conf (1,394 bytes)
prauscher

prauscher

2013-10-18 13:21

reporter   ~0006121

Attached my sogo.conf and the configuration of my reverse-proxy (nginx)

ludovic

ludovic

2013-10-18 13:25

reporter   ~0006122

Try with WOUseRelativeURLs = YES

This parameter, with a value of NO, is broken and should just be removed.

prauscher

prauscher

2013-10-18 13:28

reporter   ~0006123

Changed it to YES but changed nothing :-(
Again, the URL of preferences-Panel contains "//personal" and the relative Links there are broken.

francis

francis

2013-10-18 14:27

administrator   ~0006126

Last edited: 2013-10-18 14:37

The href's are relative URLs. Ex:

<a href="../../../../../dav/sogo1/Calendar/personal" title="http://sogo-demo.inverse.ca/SOGo/dav/sogo1/Calendar/personal/&quot; class="clickableLink">CalDAV-URL</a>

What browser do you use?

prauscher

prauscher

2013-10-18 14:31

reporter   ~0006127

Yes, the href's are relative URLs. But the Page containing the links has "//" in its URL, which is one Hierarchy more than needed. So resulting absolute URL starts with /SOGo/so/dav instead of /SOGo/dav. I tested this with Chrome 29 and Firefox 24, but I think all browsers are affected.

francis

francis

2013-10-18 14:38

administrator   ~0006129

I don't have this issue on the demo instance of SOGo (http://sogo-demo.inverse.ca/SOGo).

prauscher

prauscher

2013-10-18 14:44

reporter   ~0006131

Actually, in the demo instance the URL also contains a double-slash, but the Export-Links contain "../" 5 times, while in my installation it is only contained 4 times.

prauscher

prauscher

2013-10-18 14:52

reporter   ~0006132

In the title-Parameter of the CalDAV-Link the correct (full) URL is given. Only in href it misses a level of "../"

ludovic

ludovic

2014-12-30 19:28

reporter   ~0007967

Is this bug still relevant?

ludovic

ludovic

2015-01-07 19:57

reporter   ~0008018

No feedback provided, closing.

Issue History

Date Modified Username Field Change
2013-10-14 15:43 prauscher New Issue
2013-10-18 13:14 ludovic Note Added: 0006120
2013-10-18 13:20 prauscher File Added: sogo.conf
2013-10-18 13:20 prauscher File Added: nginx-sogo.conf
2013-10-18 13:21 prauscher Note Added: 0006121
2013-10-18 13:25 ludovic Note Added: 0006122
2013-10-18 13:28 prauscher Note Added: 0006123
2013-10-18 14:27 francis Note Added: 0006126
2013-10-18 14:31 prauscher Note Added: 0006127
2013-10-18 14:33 francis Note Edited: 0006126
2013-10-18 14:37 francis Note Edited: 0006126
2013-10-18 14:38 francis Note Added: 0006129
2013-10-18 14:44 prauscher Note Added: 0006131
2013-10-18 14:52 prauscher Note Added: 0006132
2014-12-30 19:28 ludovic Note Added: 0007967
2015-01-07 19:57 ludovic Note Added: 0008018
2015-01-07 19:57 ludovic Status new => resolved
2015-01-07 19:57 ludovic Resolution open => suspended
2015-01-07 19:57 ludovic Assigned To => ludovic