Skip to content

Conversation

@rullzer
Copy link
Member

@rullzer rullzer commented Dec 2, 2016

@LukasReschke as discussed.

Fixes #2083

* Fail on MKCOL
* Only take filename ignore directories
* No need to parse query parameters

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
@rullzer rullzer added the 3. to review Waiting for reviews label Dec 2, 2016
@rullzer rullzer added this to the Nextcloud 11.0 milestone Dec 2, 2016
@mention-bot
Copy link

@rullzer, thanks for your PR! By analyzing the history of the files in this pull request, we identified @SergioBertolinSG, @LukasReschke and @MorrisJobke to be potential reviewers.

.htaccess Outdated
#### DO NOT CHANGE ANYTHING ABOVE THIS LINE ####

ErrorDocument 403 //core/templates/403.php
ErrorDocument 404 //core/templates/404.php
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🙈


try {
$this->response = $client->send($client->createRequest("PUT", $fullUrl, $options));
var_dump($fullUrl);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Debug leftovers :)

}

$base = substr($this->baseUrl, 0, -4);
$fullUrl = $base . '/public.php/webdav/' . $folder . '?XDEBUG_SESSION_START=1';
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

XDEBUG_SESSION_START?


try {
$this->response = $client->send($client->createRequest("POST", $fullUrl, $options));
$this->response = $client->send($client->createRequest("POST", $fullUrl . '?XDEBUG_SESSION_START=1', $options));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

X_DEBUG_SESSION_START?

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
@rullzer
Copy link
Member Author

rullzer commented Dec 2, 2016

Fixes #2083

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
@MorrisJobke
Copy link
Member

I fixed the tests - you need to install the instance before running integration tests ;)

@MorrisJobke
Copy link
Member

I tested the files drop feature and it still works 👍

@rullzer
Copy link
Member Author

rullzer commented Dec 2, 2016

Aaaah copied the wrong intergration test as example :P

Copy link
Member

@LukasReschke LukasReschke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works nicely! Thanks, @rullzer! 🚀

@LukasReschke LukasReschke added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Dec 2, 2016
@LukasReschke
Copy link
Member

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4. to release Ready to be released and/or waiting for tests to finish

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants