Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-14-2009, 07:51 AM
Advanced Member
 
Posts: 178
Default [SOLVED] Zimbra adding an extra slash to links

Hi all,

One of our users reported an interesting issue which I have been able to replicate.

If I put a link to a page in an e-mail (just by typing or copying/pasting and not using the insert link button), Zimbra adds an extra slash at the end.

For example, if I type:
www.somewhere.edu/directory/file.pdf
The link in the e-mail after sending will be:
http://www.somewhere.edu/directory/file.pdf/

On the otherhand if I include http:// when typing it:
http://www.somewhere.edu/directory/file.pdf
The link in the e-mail stays the same.
http://www.somewhere.edu/directory/file.pdf
(I tried finding this in bugzilla, but didn't find anything. Wanted to post here to see if anyone knew if there was an existing bug report for this before filing one)
Reply With Quote
  #2 (permalink)  
Old 01-14-2009, 07:55 AM
Former Zimbran
 
Posts: 5,606
Default

Hello,

What version of Zimbra are you running?
Reply With Quote
  #3 (permalink)  
Old 01-14-2009, 08:12 AM
Advanced Member
 
Posts: 178
Default

Sorry about that - we're running Release 5.0.10_GA_2638.RHEL5_64_20081003025450 (Network Edition).
Reply With Quote
  #4 (permalink)  
Old 01-14-2009, 08:24 AM
Moderator
 
Posts: 7,928
Default

Just tested in 5.0.11 and cannot replicate.
__________________
Reply With Quote
  #5 (permalink)  
Old 01-14-2009, 08:28 AM
Former Zimbran
 
Posts: 5,606
Default

I checked the 5.0.10 source code, and it's a bug. It seems to be fixed in 5.0.11 and 5.0.12.

You can upgrade, or fix it easily by

editing:
/opt/zimbra/jetty/webapps/service/zimlet/com_zimbra_url/url.js

and find this line:
Code:
        escapedUrl = "http://" + escapedUrl + "/";
and change it to:
Code:
        escapedUrl = "http://" + escapedUrl;
and restart the server.

Good luck
Reply With Quote
  #6 (permalink)  
Old 01-14-2009, 08:30 AM
Advanced Member
 
Posts: 178
Default

Okay - I'll throw up 5.0.11 when I get a chance and see if its fixed there (didn't notice it in the PM site but might have missed it).

Thanks for the quick replies.
Reply With Quote
  #7 (permalink)  
Old 01-14-2009, 08:30 AM
Former Zimbran
 
Posts: 5,606
Default

Sure- and just of note: 5.0.11 has been a very good stable reliable release for us.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.