On 10/15/2011 02:35 AM, Per Olofsson wrote:
Hi,

2011-10-15 03:47, redomen skrev:
Package: xdg-utils
Version: 1.1.0~rc1-2
Severity: normal

Running xdg-open on a URL that contains an anchor only opens the base URL and
does not include the anchor.

For example:
xdg-open 
"http://en.wikipedia.org/wiki/Anchor_text#Common_misunderstanding_of_the_concept";

only starts a browser with:
"http://en.wikipedia.org/wiki/Anchor_text";
I can't reproduce the problem. Which desktop environment (if any) and browser 
are you using?

What does

sh -x /usr/bin/xdg-open 
"http://en.wikipedia.org/wiki/Anchor_text#Common_misunderstanding_of_the_concept";

say?


I'm using XFCE and Iceweasel in wheezy.

sh -x /usr/bin/xdg-open "http://en.wikipedia.org/wiki/Anchor_text#Common_misunderstanding_of_the_concept"; + check_common_commands http://en.wikipedia.org/wiki/Anchor_text#Common_misunderstanding_of_the_concept
+ '[' 1 -gt 0 ']'
+ parm=http://en.wikipedia.org/wiki/Anchor_text#Common_misunderstanding_of_the_concept
+ shift
+ case "$parm" in
+ '[' 0 -gt 0 ']'
+ '[' -z '' ']'
+ unset XDG_UTILS_DEBUG_LEVEL
+ '[' 0 -lt 1 ']'
+ xdg_redirect_output=' > /dev/null 2> /dev/null'
+ '[' xhttp://en.wikipedia.org/wiki/Anchor_text#Common_misunderstanding_of_the_concept '!=' x ']'
+ url=
+ '[' 1 -gt 0 ']'
+ parm=http://en.wikipedia.org/wiki/Anchor_text#Common_misunderstanding_of_the_concept
+ shift
+ case "$parm" in
+ '[' -n '' ']'
+ url=http://en.wikipedia.org/wiki/Anchor_text#Common_misunderstanding_of_the_concept
+ '[' 0 -gt 0 ']'
+ '[' -z http://en.wikipedia.org/wiki/Anchor_text#Common_misunderstanding_of_the_concept ']'
+ detectDE
+ '[' x = xtrue ']'
+ '[' x '!=' x ']'
++ dbus-send --print-reply --dest=org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus.GetNameOwner string:org.gnome.SessionManager
+ xprop -root _DT_SAVE_MODE
+ grep ' = \"xfce4\"$'
+ DE=xfce
+ '[' xxfce = x ']'
+ '[' x = x ']'
+ BROWSER=links2:links:lynx:w3m
+ '[' -n :0.0 ']'
+ BROWSER=x-www-browser:firefox:mozilla:epiphany:konqueror:chromium-browser:google-chrome:links2:links:lynx:w3m
+ case "$DE" in
+ open_xfce http://en.wikipedia.org/wiki/Anchor_text#Common_misunderstanding_of_the_concept + exo-open http://en.wikipedia.org/wiki/Anchor_text#Common_misunderstanding_of_the_concept
+ '[' 0 -eq 0 ']'
+ exit_success
+ '[' 0 -gt 0 ']'
+ exit 0
redomen@redomen:~$ 29805 tty1     01:14:07 firefox-bin
Error: Failed to send command: 500 command not parseable
12671 pts/0    00:00:00 firefox-bin
29805 tty1     01:14:07 firefox-bin
redomen@redomen:~$




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to