[Title] remove blank of server addr
authorjiil.hyoun <jiil.hyoun@samsung.com>
Fri, 15 Mar 2013 10:45:29 +0000 (19:45 +0900)
committerjiil.hyoun <jiil.hyoun@samsung.com>
Fri, 15 Mar 2013 10:45:29 +0000 (19:45 +0900)
[Type] Bugfix
[Module] Toolchain /
[Priority] Major
[Jira#]
[Redmine#]
[Problem]
[Cause]
[Solution]
[TestCase]

Change-Id: I669b377337493c382d6a199faa848b29a4479fed

src/pkg_server/client.rb

index b6851ed91dcc84f3c568001d885d584e16140c60..2b0f842699878e3c388ca6f9d76846d909fc2285 100644 (file)
@@ -98,6 +98,7 @@ class Client
                        if not server_addr.nil? then
                                # chop server address, if end with "/"
                                if server_addr.strip.end_with? "/" then server_addr = server_addr.chop end
+                               server_addr.strip!
 
                                if is_snapshot_url(server_addr) then
                                        @snapshot_url = true