Problem on enter to folder from url

Good afternoon,

We have an application that links to our owncloud (10.0.0), when the user press a button enter into the folder for that case file, the address is www.xxx.xxx/owncloud/index.php/apps/files?dir=%2F7049 now enters momentarily and It leaves to the root
Any idea?

Thank you very much

Isn't there a slash missing between 'files' and '?'

/index.php/apps/files/?dir=/doc

Yes, looks like you're right. This is e.g. a link from the demo (user:test, password:test):

https://demo.owncloud.org/index.php/apps/files/?dir=/Documents&fileid=40