! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
URL Links don't work with certain names/characters
Status:
CLOSED: WONTFIX
Product:
Thunar-vfs
Component:
General

Comments

Description s0ulslack 2007-01-29 14:04:06 CET
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.1) Gecko/20070122 Firefox/2.0.0.1
Build Identifier: 

If I create a new URL Link (via right clicking, Desktop -> Create URL Link) and name it s.F.o it doesn't handle it correctly.  It shows on the desktop as s_F_o.desktop with "Kind" x-thunar/suspected-malware, contents are;
"

[Desktop Entry]
Version=1.0
Encoding=UTF-8
Type=Link
Name=s.F.o
Comment=
Icon=gnome-fs-bookmark
URL=http://soul.fbeye.org
"

Creating a link with the name soul.fbeye.org with the same link however does create it properly.

Also, when using "http://soul.fbeye.org" as the name it displays on the desktop as "http:__soul_fbeye_org.desktop" with Kind as desktop configuration file, although it still appears to handle the URL correctly unlike the one named s.F.o

I hope I've included enough information, if not please ask

Reproducible: Always

Steps to Reproduce:
Comment 1 Benedikt Meurer editbugs 2007-02-12 18:46:35 CET
Yep, this is malware detection in thunar-vfs. If you create a .desktop file that tries to look like a regular file thunar-vfs will mark that as malware and show the real file name. The name 's.F.o' is matched by the *.o glob rule (for object files) and is therefore recognized as malware (a .desktop file trying to look like a object file). Therefore choose a name that is not matched by any glob rule.

Bug #2847

Reported by:
s0ulslack
Reported on: 2007-01-29
Last modified on: 2010-11-07

People

Assignee:
Jannis Pohlmann
CC List:
2 users

Version

Version:
unspecified

Attachments

Additional information