Difference between revisions of "Downloadsvn"

From Noah.org
Jump to navigationJump to search
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
[[Category:Engineering]]
 
[[Category:Engineering]]
 
[[Category:PHP]]
 
[[Category:PHP]]
This allows you to download files directly from SVN. It should give you a download and not open in the browser.
+
[[Category:SVN]]
  
This is probably not very secure.
+
This allows a web site visitor to download files directly from a Subversion reposiroty. It should give you a download dialog and not try to open the file in the browser.
 +
 
 +
This is probably not very secure ;-) Someone can almost certainly hack it to download lots of other stuff in your repository, so I wouldn't use this on a repository where I store stuff that I want to keep private.
  
 
Click to download: [http://www.noah.org/downloadsvn.php?src=file:///home/svn/src/php/downloadsvn.php downloadsvn.php]
 
Click to download: [http://www.noah.org/downloadsvn.php?src=file:///home/svn/src/php/downloadsvn.php downloadsvn.php]
 
 
<include svncat src="file:///home/svn/src/php/downloadsvn.php" highlight="php" />
 
<include svncat src="file:///home/svn/src/php/downloadsvn.php" highlight="php" />

Latest revision as of 09:21, 20 August 2008


This allows a web site visitor to download files directly from a Subversion reposiroty. It should give you a download dialog and not try to open the file in the browser.

This is probably not very secure ;-) Someone can almost certainly hack it to download lots of other stuff in your repository, so I wouldn't use this on a repository where I store stuff that I want to keep private.

Click to download: downloadsvn.php <include svncat src="file:///home/svn/src/php/downloadsvn.php" highlight="php" />