After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 566452 - Error when creating folder on webdav share
Error when creating folder on webdav share
Status: RESOLVED FIXED
Product: gvfs
Classification: Core
Component: webdav backend
1.0.x
Other All
: Normal normal
: ---
Assigned To: gvfs-maint
gvfs-maint
: 561215 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2009-01-03 22:32 UTC by Mads Chr. Olesen
Modified: 2009-02-16 09:53 UTC
See Also:
GNOME target: ---
GNOME version: 2.23/2.24


Attachments
This patch fixes the redirect handler, to only redirect on redirections. (1.28 KB, patch)
2009-01-03 22:36 UTC, Mads Chr. Olesen
accepted-commit_now Details | Review

Description Mads Chr. Olesen 2009-01-03 22:32:03 UTC
Please describe the problem:
An error occurs when creating a folder on a webdav share. The folder is never-the-less created.

Steps to reproduce:
1. Mount a webdav share
2. Create a folder in Nautilus
3. Get error message

Actual results:
An error message occurs, but the folder is created.

Expected results:
The folder created, without error message.

Does this happen every time?
Yes

Other information:
Comment 1 Mads Chr. Olesen 2009-01-03 22:36:15 UTC
Created attachment 125713 [details] [review]
This patch fixes the redirect handler, to only redirect on redirections.

The problem is that the "201 Created" response from the server is intercepted by the redirect handler (because it has a "Location"-header), and therefore ignored.
Comment 2 Mads Chr. Olesen 2009-01-14 22:17:30 UTC
*** Bug 561215 has been marked as a duplicate of this bug. ***
Comment 3 Christian Kellner 2009-02-10 12:53:47 UTC
Sorry for not being responsive enough. Looks good. Commit please.
Comment 4 Alexander Larsson 2009-02-16 09:53:51 UTC
commited.