In fact above patch is far from being perfect, it actually doesn't work for 
many cases.
I also noticed that there is code duplication beteween mmsh and normal mms, and 
this patch fixes mms only.

Here is reworked patch

Changes:

* I append to begging of path the '/', otherwise many servers won't work - 
windows does same too
* don't put 0 at the end, string is guaranteed to have at least one char, 
besides this was wrong, it would overwrite last char.
* put this in separate function and call from both mms and mmsh


** Attachment added: "0002-Rework-URL-handling.patch"
   http://launchpadlibrarian.net/32764882/0002-Rework-URL-handling.patch

-- 
libmms handling of many URLS is broken
https://bugs.launchpad.net/bugs/238984
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to