[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Executable in bugtraq:url

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2006-12-01 22:32:43 CET

Magnus Ekhall wrote:
>>> Today ShellExecute tries to execute the file "c:\my_issue_tracking_system.exe
>>> 666" if the bug id is 666. And the result of that call is file_not_found...
>> You have to register your own url protocol to start your application.
>> Just like TSVN does with the "tsvn:" protocol.
>
> Oh... That sounds a bit more complicated...
> What is wrong with modifying the existing code?

If you modifiy the code, you'll have your very own version of TSVN.
Because I can't commit your changes: you're dealing with absolute paths
here, which is a *very bad thing*.

Creating your own url handler is not complicated: it's a simple entry in
the registry.

>>From reading the documentation I thought that Tortoise already should do what
> I wanted and that I had found a bug...
> The proposed behaviour is not that strange I think?

It is, because you want to start a program from a local, absolute path.
Imagine what a hacker could do with that...

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Fri Dec 1 22:32:57 2006

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.