File sharing links not working properly in 2.1.3?

192 views
Skip to first unread message

Alex Kurz

unread,
Jan 21, 2014, 4:24:21 AM1/21/14
to sea...@googlegroups.com
Hi,

I'm having an odd problem in 2.1.3 that wasn't there in 2.0. When I share a file using a link I get to the download page all right, but when I click the link browsers behave different - and none of them quite correctly. This is what happens:

Chrome:
- if I click on "Download" link normally (left mouse button), a new tab opens with a blank page (about:blank)
- if I right-click on the same download link and select "open in new tab" the file downloads all right.

Firefox:
- if I click on the "Download" link normally (left mouse button), the file downloads all right, but a new tab opens that says "Sorry, but the requested page could not be found" (URL: https://my.server.net/f/7dbc222172/undefined. I replaced the real URL with "my.server.net")
- if I right-click on the same download link and select "open in new tab" the file downloads all right and a new empty tab without error opens.

Internet Explorer:
- behaves exactly like Firefox with the exception that the pop-up-blocker triggers and I need to allow the site to download.

As I use Seafile mostly for sharing files this way, all the empty page and "page not found" confuses my sharing partners and are a 100% kill criteria for me. I simply can't use Seafile this way.

Regards,
Alex




ZhengXie

unread,
Jan 21, 2014, 4:59:54 AM1/21/14
to sea...@googlegroups.com
This bug will be fixed in 2.1.4, thanks for reporting.

Regards.

--
You received this message because you are subscribed to the Google Groups "seafile" group.
To unsubscribe from this group and stop receiving emails from it, send an email to seafile+u...@googlegroups.com.
To post to this group, send email to sea...@googlegroups.com.
Visit this group at http://groups.google.com/group/seafile.
For more options, visit https://groups.google.com/groups/opt_out.

ZhengXie

unread,
Jan 21, 2014, 5:04:45 AM1/21/14
to sea...@googlegroups.com
Here is the quick fix:

2. Replace <seafile_path>/seahub/seahub/templates/shared_file_view.html
3. Refresh page, this problem should be resolved.

Regards

Alex Kurz

unread,
Jan 21, 2014, 12:13:31 PM1/21/14
to sea...@googlegroups.com
Hi Xie,

Many thanks for this. Implemented the fix and all is working fine now. You guys are awsome!!

Regards,
Alex

Alex Kurz

unread,
Jan 21, 2014, 2:03:36 PM1/21/14
to sea...@googlegroups.com
BTW: you should patch seafile.cc as well. It shows the same glitch (just tried to open a linked file posted by a seafile.cc user...).

Alex

Am Dienstag, 21. Januar 2014 11:04:45 UTC+1 schrieb xie zheng:

Alex Kurz

unread,
Jan 21, 2014, 2:04:27 PM1/21/14
to sea...@googlegroups.com
seacloud.cc that is, of course...
Reply all
Reply to author
Forward
0 new messages