Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

cmd.php returns "SUCCESS" response for deleting a non-existing repository_id #701

Closed
tolgadevsec opened this issue Nov 9, 2014 · 1 comment

Comments

@tolgadevsec
Copy link

Using the following action:

php cmd.php -u= -p= -r=ajxp_conf -a=delete --repository_id=

returns a "SUCCESS" response in any case. It doesn't seem to matter if the repository_id does exist or not.

@tolgadevsec tolgadevsec changed the title cmd.php returns "SUCCESS" response for non-existing repository_id cmd.php returns "SUCCESS" response for deletig a non-existing repository_id Nov 9, 2014
@tolgadevsec tolgadevsec changed the title cmd.php returns "SUCCESS" response for deletig a non-existing repository_id cmd.php returns "SUCCESS" response for deleting a non-existing repository_id Nov 9, 2014
@tolgadevsec
Copy link
Author

Same issue applies to the deletion of a repository quota:

cmd.php -u= -p=-r=ajxp_conf -a=meta_source_delete --plugId=meta.quota --repository_id=

Getting SUCCESS response although the quota has been removed. But this time it reacts to non-existing repository id's with an exception. Haven't verified this for other remove actions or other meta plugins.

@cdujeu cdujeu closed this as completed in e698287 Nov 12, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants