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 639429 - evolution webdav client does not respect port number asked by the user
evolution webdav client does not respect port number asked by the user
Status: RESOLVED DUPLICATE of bug 627713
Product: evolution
Classification: Applications
Component: Contacts
2.30.x (obsolete)
Other Linux
: Normal major
: ---
Assigned To: evolution-addressbook-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2011-01-13 15:26 UTC by mathias
Modified: 2011-01-13 16:08 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description mathias 2011-01-13 15:26:37 UTC
Evolution discard any port number information in URI given by the user when setting a new WebDAV based contact list.

I am using Evolution 2.30.3 on Debian AMD64 and I am using libsoup2.4 (2.30.2) which are the versions in the current Debian Squeeze.

Steps to reproduce:
0 - You need any server which "DROP" incoming packet on port 443 (or in fact it can do whatever it wants on port 443 _except_ serving a WebDAV server), localhost with no server on it might do.
1 - In evolution, go to Contacts/New Address Book
2 - Create an address book of type WebDAV with an URL like: https://yourserver:448/anything
3 - Open the "Properties" of the newly created address book and see that the server URL is now "https://yourserver/anything"

More precisely, there seems to be two different issue (but very closely related).

First issue:
I have run evolution in gdb and what happens is that in function set_ui_from_source (in plugins/webdav-account-setup/webdav-contacts-source.c:100) which is run when the "Properties" of the address book is accessed in step 3, the "suri" object is properly created with the port number 448 (or whatever was specified, I guess). But, for some reason that I did not find (I am currently unable to build evolution from source), the string put in the UI does not contain the port number. If nothing is changed in the UI the port number stays correctly set. But if something is modified, then what is written in the suri object of function set_source_from_ui does not contains the port number (except if the user have written it again in the UI) and when the properties are accessed again (repeating step 3), then the port is not set.

Second issue:
As we have seen, after the creation of the address book, the port number is correctly set. Still, if I monitor the traffic made by evolution (using wireshark) it only tries to access the server on port 443 (default https port).

So the bug may be in libsoup rather than in evolution.

Also, I have tried on evolution 2.28 (in Ubuntu 9.10) and the issue is not present (I can correctly access to my contacts on the webdav server).
Comment 1 André Klapper 2011-01-13 16:08:03 UTC
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.

*** This bug has been marked as a duplicate of bug 627713 ***