[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#247132: viewurl-mozilla.sh or licq strips the url pressed in dialog

Package: licq
Version: 1.2.7-7
Severity: normal

when I click on URL in the dialog box a new browser window appears and loads the web page. However, if URL contains encoded space e.g. http://www.host.com/funny%20pictures/ the last part of URL separated by space is lost.
I examined /usr/bin/viewurl-mozilla.sh and noticed that it looks up only at the first script argument -- $1 and discards the rest. That means that licq decodes the URL and does not escape spaces, i.e. one URL becomes broken into two parameters.
I suggest that licq would put quotation marks ("") around URL upon passing the decoded URL to the script, in this case the spaces would not be lost.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.5-1-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8

Versions of packages licq depends on:
ii  libc6                       2.3.2.ds1-12 GNU C Library: Shared libraries an
ii  libgcc1                     1:3.3.3-7    GCC support library
ii  libssl0.9.7                 0.9.7d-1     SSL shared libraries
ii  libstdc++5                  1:3.3.3-7    The GNU Standard C++ Library v3
ii  licq-plugin-qt [licq-plugin 1.2.7-7      Graphical front-end plugin for LIC

-- no debconf information

Reply to: