• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

geturl duplicates the functionality of wget and curl. MC claims it is a security risk, though that is unproven. Anyway, it's not used by TWiki, it's a bit of a carbuncle, and should either be moved to a contrib or removed.

Requirement for EdinburghRelease

CC

I should have worded: geturl is relatively untested (with respect to standard tools such as wget and curl) and intrinsically a command line tool could be used to mount denial of service attacks against other machines. As it is not used by TWiki, it is misguided to expose it via the CGI interface on default builds. The only reason it is in is because the company Peter used to work for needs it.

This comes back to the discomfort I have that we did not yet TWiki:Codev.RenameBinToCgiBin - at the very least according to TWiki:Main.RichardDonkin suggestion this script belongs in a utils directory so that it can never be exposed via CGI.

MC

Documented the deprecation of geturl in SVN 8173

CC

Whoever thinks that this script must be retirement should provide a rest interface with the same functionality (the code is already in TWiki::Net).

-- PTh

Actually, it would make sense to move geturl to the tools directory since it is a command line utility.

The utilities in =bin/tools = need to be documented, Item1398.

-- PTh


Undeferred, post Dakar CC
I'm not sure I understand the point above, Whoever thinks that this script must be retirement should provide a rest interface with the same functionality. Why? What role does geturl play in TWiki? The one example of usage in the docs could better be done using curl. If it is intended as a handy script for people to download, it should be pulbished as such - AFAICT it has nothing to do with TWiki.

CC

No feedback justifying a REST script. At the same time, I can't be bothered removing the script and clearly neither can anyone else. Discarded.

CC

ItemTemplate
Summary Get rid of geturl
ReportedBy CrawfordCurrie
Codebase

SVN Range Fri, 06 Jan 2006 build 8154
AppliesTo Engine
Component

Priority Urgent
CurrentState No Action Required
WaitingFor

TargetRelease major
Edit | Attach | Watch | Print version | History: r10 < r9 < r8 < r7 < r6 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r10 - 2006-03-01 - CrawfordCurrie
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback