Fmstrat / shorten

A URL Shortening and Privacy Tool for ownCloud
31 stars 14 forks source link

V0.0.14 yourls unexpected behavior when allow Fileupload #19

Open JSoko opened 9 years ago

JSoko commented 9 years ago

Hello, in oc 8.2.0 with shorten 0.0.14

if I create a new shortcode it works as it should. shorten1

But if I allow upload for unregistret Users bei clicking on "Bearbeiten" the unshortened link is shown and the long link will be sent by mail. shorten2

Workarround:

  1. fill in a password
  2. check "bearbeiten"
  3. fill in the password again Now it loads the shortend path again: shorten3

Ciao, Joachim

tombou commented 8 years ago

What worked for me is that I added this code this.model.on('change:allowPublicUploadStatus', function() { replaceUrl2($('#linkText-' + view.cid)); }); in the function replaceShare() in js/script.js

I'm with oc 8.2.2 Hope it helps