[opensuse-buildservice] OBS can't recognize symbol "+" in project name or S.O.O can't transfer it properly.
Hi, all, When I'm packaging linphone updates, I need to search package "tunnel". and found this "bug"? http://software.opensuse.org/package/stunnel click openSUSE_Factory. then show unstable packages we'll see the first project is devel:libraries:c_c++, click into it. OBS will return you an error messge "devel:libraries:c_c" not found, seems it can't recognize the last two "+". Marguerite. -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On 2012-05-18 17:31:28 (+0800), Marguerite Su <i@marguerite.su> wrote:
When I'm packaging linphone updates, I need to search package "tunnel". and found this "bug"?
click openSUSE_Factory. then show unstable packages
we'll see the first project is devel:libraries:c_c++, click into it.
OBS will return you an error messge "devel:libraries:c_c" not found, seems it can't recognize the last two "+".
That's a classic issue with HTTP: "+" is decoded by HTTP clients (including browsers, of course) and servers as " ", as defined in the HTTP specification: https://en.wikipedia.org/wiki/Percent-encoding http://www.w3schools.com/tags/ref_urlencode.asp https://www.ietf.org/rfc/rfc1738.txt The software search must encode "+" in URLs it puts into the pages, i.e. NOT do this: https://build.opensuse.org/package/show?project=devel:libraries:c_c++&package=stunnel but this instead: https://build.opensuse.org/package/show?project=devel%3Alibraries%3Ac_c%2B%2B&package=stunnel ":" should typically be interpreted by browsers as just that, ":", as it has no special meaning in URLs and hence, this works too: https://build.opensuse.org/package/show?project=devel:libraries:c_c%2B%2B&package=stunnel The "+" *must* be encoded as "%2B" in URLs though as, if not, it is interpreted by the server side as " ". Short version, it's a bug in the software search. (CC'ing Tom, as I believe he implemented it) cheers -- -o) Pascal Bleser /\\ http://opensuse.org -- we haz green _\_v http://fosdem.org -- we haz conf
On 18.05.2012 11:31, Marguerite Su wrote:
Hi, all,
When I'm packaging linphone updates, I need to search package "tunnel". and found this "bug"?
http://software.opensuse.org/package/stunnel
click openSUSE_Factory. then show unstable packages
we'll see the first project is devel:libraries:c_c++, click into it.
OBS will return you an error messge "devel:libraries:c_c" not found, seems it can't recognize the last two "+".
That is purely a problem of the link on software.oo - in URLS + is a space and so it needs to be escaped. Greetings, Stephan -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On 21.05.2012 09:54, Stephan Kulow wrote:
On 18.05.2012 11:31, Marguerite Su wrote:
Hi, all,
When I'm packaging linphone updates, I need to search package "tunnel". and found this "bug"?
http://software.opensuse.org/package/stunnel
click openSUSE_Factory. then show unstable packages
we'll see the first project is devel:libraries:c_c++, click into it.
OBS will return you an error messge "devel:libraries:c_c" not found, seems it can't recognize the last two "+".
That is purely a problem of the link on software.oo - in URLS + is a space and so it needs to be escaped.
I deployed a patch, it should be fixed now. Greetings -- Thomas Schmidt (tom [at] opensuse.org) openSUSE Boosters Team "Don't Panic", Douglas Adams (11.03.1952 - 11.05.2001) -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Tue, May 22, 2012 at 5:45 PM, Thomas Schmidt <tom@opensuse.org> wrote:
On 21.05.2012 09:54, Stephan Kulow wrote:
On 18.05.2012 11:31, Marguerite Su wrote:
Hi, all,
When I'm packaging linphone updates, I need to search package "tunnel". and found this "bug"?
http://software.opensuse.org/package/stunnel
click openSUSE_Factory. then show unstable packages
we'll see the first project is devel:libraries:c_c++, click into it.
OBS will return you an error messge "devel:libraries:c_c" not found, seems it can't recognize the last two "+".
That is purely a problem of the link on software.oo - in URLS + is a space and so it needs to be escaped.
I deployed a patch, it should be fixed now.
Greetings
-- Thomas Schmidt (tom [at] opensuse.org) openSUSE Boosters Team "Don't Panic", Douglas Adams (11.03.1952 - 11.05.2001)
confirmed. fixed. Greetings marguerite -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
participants (4)
-
Marguerite Su
-
Pascal Bleser
-
Stephan Kulow
-
Thomas Schmidt