NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Djordje Radovanovic on November 01, 2013, 02:40:40 PM

Title: HTTP OPTIONS method bug
Post by: Djordje Radovanovic on November 01, 2013, 02:40:40 PM
It is 272 line in NetWeb.clw file
I found small bug in NetWeb.clw that cause RequestMethodType unusable


        space1 = instring(' ',self._ConnectionDataQueue.Data,1,1)
        if space1 > 0 and space1 < 8                       ************** This is 272 line ************
          ! Check binData
          self._ConnectionDataQueue.RequestMethodType = self.SetRequestMethodType(upper(self._ConnectionDataQueue.Data[1 :    space1]))

String in self._ConnectionDataQueue.Data look for ex. OPTIONS /Request where ' ' (blank) is in 8th position so it coud not be true for OPTIONS.

Best regards,

Djordje Radovanovic
Title: Re: HTTP OPTIONS method bug
Post by: Bruce on November 03, 2013, 09:43:05 PM
thanks - fixed for next build.