[Lazarus] Possible fpWeb bug

Leonardo M. Ramé l.rame at griensu.com
Wed May 19 22:35:47 CEST 2010


Hi, I'm trying to create a non-default action that must be executed when
the url is /cgi-bin/myprogram?action=ShowListing. When I change the
Content-property to "ShowListing" it automatically adds an #10 character
at the end, this can be easily see in the lfm file as follows (also note
that Contents.strings is added by Lazarus -not by me-):

object FPWebModule1: TFPWebModule1
  OldCreateOrder = False
  Actions = <  
    item
      Name = 'ShowListing'
      Default = False
      Content = 'ShowListing'#10
      Contents.Strings = (
        'ShowListing'
      )
      OnRequest = TFPWebActions1Request
    end  
    item
      Name = 'DefaultAction'
      Default = True
      OnRequest = TFPWebActions0Request
    end>
  DefActionWhenUnknown = False
  CreateSession = False
  Height = 142
  HorizontalOffset = 2045
  VerticalOffset = 753
  Width = 161
end                         

-- 
Leonardo M. Ramé
Griensu S.A. - Medical IT Córdoba
Tel.: 0351-4247979





More information about the Lazarus mailing list