Skip to content

Groups cannot be deleted when name ends with backslash #23499

Closed

Description

@mbrouwer88

Steps to reproduce

  1. Create a group with a trailing \ in the name, like "Test"
  2. Delete the group, Owncloud reports it's deleted.
  3. Refresh the page, you see that the group was not deleted.

Expected behaviour

The group should be deleted, regardless of the name used.

Actual behaviour

The interface tells you it's deleted, but it's not.

Server configuration

Operating system:
Debian 7
Web server:
Apache2
Database:
Mysql
PHP version:
5
ownCloud version: (see ownCloud admin page)
8.2.2
Updated from an older ownCloud or fresh install:
Updated
Where did you install ownCloud from:
APT-GET Owncloud repo
Signing status (ownCloud 9.0 and above):

Login as admin user into your ownCloud and access 
http://example.com/index.php/settings/integrity/failed 
paste the results here.

List of activated apps:
Only encryption module (default)

If you have access to your command line run e.g.:
sudo -u www-data php occ app:list
from within your ownCloud installation folder

The content of config/config.php:

If you have access to your command line run e.g.:
sudo -u www-data php occ config:list system
from within your ownCloud installation folder

or 

Insert your config.php content here
(Without the database password, passwordsalt and secret)

Are you using external storage, if yes which one: local/smb/sftp/...

Are you using encryption: yes/no
Yes
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...

Client configuration

Browser:
Chrome and IE
Operating system:
Windows

Logs

Web server error log

Insert your webserver log here

ownCloud log (data/owncloud.log)

Insert your ownCloud log here

Browser log

Insert your browser log here, this could for example include:

a) The javascript console log
b) The network log 
c) ...

Activity

  1. PVince81 commented on Apr 18, 2016

    @PVince81
    Contributor

    Oh wow, seems the browser made the request to the root which got redirected to the default URL:
    groupbacklash

    CC @LukasReschke

  2. PVince81 commented on Apr 18, 2016

    @PVince81
    Contributor

    Observed on v9.0.1

  3. added a commit that references this issue on Apr 18, 2016
  4. LukasReschke commented on Apr 18, 2016

    @LukasReschke
    Contributor

    Patch is at #24072

  5. added this to the milestone on Apr 18, 2016
  6. lock commented on Aug 5, 2019

    @lock

    This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

  7. locked as resolved and limited conversation to collaborators on Aug 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions