• 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.

when I goto WebChanges and have a topic that contains spaces I get the following exception

illegal characters in file name component 'Groove Networks.txt' of filename '/usr/lib/cgi-bin/DEVELOP/data/Codev//Groove Networks.txt' at /usr/lib/cgi-bin/DEVELOP/lib/TWiki/Sandbox.pm line 150
   TWiki::Sandbox::normalizeFileName('/usr/lib/cgi-bin/DEVELOP/data/Codev//Groove Networks.txt') called at /usr/lib/cgi-bin/DEVELOP/lib/TWiki/Sandbox.pm line 223
   TWiki::Sandbox::buildCommandLine('TWiki::Sandbox=HASH(0x85f7bec)', '-i -l -H -- %TOKEN|U% %FILES|F%', 'FILES', 'ARRAY(0x861fbe4)', 'TOKEN', .) called at /usr/lib/cgi-bin/DEVELOP/lib/TWiki/Sandbox.pm line 299
   TWiki::Sandbox::sysCommand('TWiki::Sandbox=HASH(0x85f7bec)', '/bin/egrep -i -l -H -- %TOKEN|U% %FILES|F%', 'TOKEN', ., 'FILES', 'ARRAY(0x861fbe4)') called at /usr/lib/cgi-bin/DEVELOP/lib/TWiki/Store/RcsFile.pm line 318
   TWiki::Store::RcsFile::searchInWebContent('TWiki::Store::RcsWrap=HASH(0x87d69f8)', ., 'ARRAY(0x84c65f4)', 'HASH(0x87d69bc)') called at /usr/lib/cgi-bin/DEVELOP/lib/TWiki/Store.pm line 1732
   TWiki::Store::searchInWebContent('TWiki::Store=HASH(0x85f2ac4)', ., 'Codev', 'ARRAY(0x84c65f4)', 'HASH(0x87d69bc)') called at /usr/lib/cgi-bin/DEVELOP/lib/TWiki/Search.pm line 293
   TWiki::Search::_searchTopicsInWeb('TWiki::Search=HASH(0x85f2b48)', 'Codev', '', '', 'regex', 0, .) called at /usr/lib/cgi-bin/DEVELOP/lib/TWiki/Search.pm line 596
   TWiki::Search::searchWeb('TWiki::Search=HASH(0x85f2b48)', 'inline', 1, 'search', ., 'basetopic', 'WebChangesForAllWebs', 'reverse', 'on', ...) called at /usr/lib/cgi-bin/DEVELOP/lib/TWiki.pm line 2535
   TWiki::_SEARCH('TWiki=HASH(0x804cd54)', 'TWiki::Attrs=HASH(0x8813850)', 'WebChangesForAllWebs', 'Codev') called at /usr/lib/cgi-bin/DEVELOP/lib/TWiki.pm line 2004
   TWiki::_processTags('TWiki=HASH(0x804cd54)', '---++ %URLPARAM{"limit" default="25"}% most recent topic chan...', 16, '', 'WebChangesForAllWebs', 'Codev') called at /usr/lib/cgi-bin/DEVELOP/lib/TWiki.pm line 1936
   TWiki::_expandAllTags('TWiki=HASH(0x804cd54)', 'SCALAR(0x87cd07c)', 'WebChangesForAllWebs', 'Codev') called at /usr/lib/cgi-bin/DEVELOP/lib/TWiki.pm line 2170
   TWiki::handleCommonTags('TWiki=HASH(0x804cd54)', '---++ %URLPARAM{"limit" default="25"}% most recent topic chan...', 'Codev', 'WebChangesForAllWebs') called at /usr/lib/cgi-bin/DEVELOP/lib/TWiki/UI/View.pm line 314
   TWiki::UI::View::_prepare('---++ %URLPARAM{"limit" default="25"}% most recent topic chan...', 'TWiki=HASH(0x804cd54)', 'Codev', 'WebChangesForAllWebs', 'TWiki::Meta=HASH(0x87c3088)', 1, 0) called at /usr/lib/cgi-bin/DEVELOP/lib/TWiki/UI/View.pm line 294
   TWiki::UI::View::view('TWiki=HASH(0x804cd54)') called at /usr/lib/cgi-bin/DEVELOP/lib/TWiki/UI.pm line 107
   TWiki::UI::run('CODE(0x804d78c)') called at view line 28

Fixed by filtering illegal file names when building topic lists SVN 6056 CC

ItemTemplate
Summary spaced topic names cause exception
ReportedBy SvenDowideit
Codebase

AppliesTo Engine
Priority Urgent
CurrentState Closed
WaitingFor

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r4 - 2005-08-15 - CrawfordCurrie
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback