Tags:
create new tag
, view all tags

Bug: Include with non-existing URL returns error page

If you use the %INCLUDE{URL}% tag with a non-existing URL TWiki returns an error page and the normal user will not be able to edit the page again unless he knows how to hack the URL. The error returned is: "Bad arg length for Socket::pack_sockaddr_in, length is 0, should be 4 at /usr/lib/perl5/5.8.3/i386-linux-thread-multi/Socket.pm line 373."

Test case

Insert this on a TWiki page:

%INCLUDE{http://hfh.jhfh.dh/hey.txt}%

Environment

TWiki version: TWikiRelease01Sep2004
TWiki plugins: DefaultPlugin, SpreadSheetPlugin, ActionTrackerPlugin, ChartPlugin, CommentPlugin, DefaultPlugin, EditTablePlugin, EmptyPlugin, InterwikiPlugin, RenderListPlugin, RevisionLinkPlugin, SlideShowPlugin, SmiliesPlugin, SpreadSheetPlugin, TWikiDrawPlugin, TablePlugin, SessionPlugin
Server OS: Fedora Core2
Web server: Apache 2.0.52
Perl version: 5.8.3
Client OS: Any
Web Browser: Any

-- KennethLavrsen - 18 Oct 2004

Follow up

Fix record

Topic revision: r1 - 2004-10-18 - KennethLavrsen
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.