sciserver / scidrive-ui

Web UI for scidrive
http://www.scidrive.org
Apache License 2.0
0 stars 0 forks source link

v1.0.0:SD_WU_3:Create file doesn't work for 'Pull from URL' with 'Auto file name from URL' option #22

Closed jkim485 closed 8 years ago

jkim485 commented 9 years ago

if file name is given by user creating file with 'pull from url' does work.

jkim485 commented 9 years ago

ps.

if file name is given by user creating file with 'pull from url' does work. but the folder view doesn't automatically refresh after file is created.

jkim485 commented 9 years ago

Tested on scidrive 2: the issue has not been fixed.

A new bug is introduced for creating file with a pull from URL.

dimm0 commented 9 years ago

Fixed

jkim485 commented 8 years ago

Partly fixed.

  1. Automatic filename extraction works for the following case: https://www.pmmh.espci.fr/~jorge/ch4.pdf : extracted the filename is ch4.pdf
  2. Automatic filename extraction does not work for the following case: C:\codetest\test.xml- Get an error message "the value entered is not valid". But it is not clear how to fix the entered URL to make valid.

Would to be helpful for users what the valid URL syntax is.

dimm0 commented 8 years ago

C:\codetest\test.xml- is not an URL at all...

jkim485 commented 8 years ago

[jk reminder] test with

https://journals.aps.org/prl/abstract/10.1103/PhysRevLett.115.153002#fulltext

dimm0 commented 8 years ago

I can allow the "#" symbol in URLs, but this url also won't return any useful file...

dimm0 commented 8 years ago

The "#" symbol in filename creates problems. Prohibiting for now, until fixed in service. Only regular filenames with letters and numbers are allowed.