You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by "Chenjp (via GitHub)" <gi...@apache.org> on 2025/04/14 08:47:41 UTC

[PR] BUGFIX: fix an incorrect range size validation [tomcat]

Chenjp opened a new pull request, #843:
URL: https://github.com/apache/tomcat/pull/843

   **semantics fix:** range size = end_pos - start_pos + 1
   
   ## See error log
   ```bash
   curl http://localhost:64438/one.txt -d c -H "Content-Range: bytes 0-0/1" -i
   HTTP/1.1 405
   Allow: OPTIONS, GET, HEAD, PUT, DELETE
   Content-Type: text/html;charset=utf-8
   Content-Language: zh-CN
   Content-Length: 637
   Date: Mon, 14 Apr 2025 08:44:27 GMT
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Re: [PR] BUGFIX: fix an incorrect range size validation [tomcat]

Posted by "rmaucher (via GitHub)" <gi...@apache.org>.
rmaucher commented on PR #843:
URL: https://github.com/apache/tomcat/pull/843#issuecomment-2801357502

   Ok so this looks like it cleans up all the off by one issue. Merged.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Re: [PR] BUGFIX: fix an incorrect range size validation [tomcat]

Posted by "Chenjp (via GitHub)" <gi...@apache.org>.
Chenjp commented on PR #843:
URL: https://github.com/apache/tomcat/pull/843#issuecomment-2800960190

   @rmaucher Hi, it is a functional error.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Re: [PR] BUGFIX: fix an incorrect range size validation [tomcat]

Posted by "rmaucher (via GitHub)" <gi...@apache.org>.
rmaucher closed pull request #843: BUGFIX: fix an incorrect range size validation
URL: https://github.com/apache/tomcat/pull/843


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org