Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Sharing Link] error code 404: with Folder (after the name leaves a space) #3297

Closed
Dianafg76 opened this issue Jun 1, 2015 · 5 comments

Comments

@Dianafg76
Copy link

commented Jun 1, 2015

Steps to reproduce

  1. Open your ownCloud desktop client
  2. Go to Open Folder "ownCloud"
  3. Create a new folder, called 321 and space in the end
  4. Right click on the folder 321
  5. Select share with ownCloud

Expected behaviour

You can share the folder

Actual behaviour

Is appears "OCS API error code:404".
screen shot 2015-06-01 at 10 00 47

Server configuration

DESKTOP v1.8.2 (build 2396) MAC

@Dianafg76

This comment has been minimized.

Copy link
Author

commented Jul 23, 2015

I tested this issue with Desktop v ownCloud-2.0.0.2559-nightly20150723.pkg, and it is the same

@rullzer

This comment has been minimized.

Copy link
Contributor

commented Jul 24, 2015

Ok I found the problem. The socket api trimms the string that it receives. So all trailing white space is also removed (even if it is part of the command). Lets see how we can fix this the easiest.

@guruz

This comment has been minimized.

Copy link
Collaborator

commented Oct 26, 2015

btw, files/folders with space at end are illegal on Windows anyway.

FYI @ogoffart

@ogoffart

This comment has been minimized.

Copy link
Collaborator

commented Oct 26, 2015

Socket API should not trim.

@ogoffart ogoffart self-assigned this Oct 26, 2015

@Dianafg76

This comment has been minimized.

Copy link
Author

commented Oct 27, 2015

I tested this issue, and is working OK. Now you can share with no problem
Desktop v ownCloud-2.1.0.2831-nightly20151027.pkg
Server v {"installed":true,"maintenance":false,"version":"8.1.4.0","versionstring":"8.1.4 RC1","edition":""}
Closed

@Dianafg76 Dianafg76 closed this Oct 27, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants
You can’t perform that action at this time.