[ https://issues.apache.org/jira/browse/WICKET-6058?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tobias Soloschenko updated WICKET-6058: --------------------------------------- Description: curl --range 0-99 http://examples7x.wicket.apache.org/videos/wicket/resource/org.apache.wicket.examples.media.Home/video1-ver-538557E5F248D450160FC81033930591.mp4 -o /dev/null returns 99 bytes and not 100 as expected in this document: https://developer.apple.com/library/safari/documentation/AppleApplications/Reference/SafariWebContent/CreatingVideoforSafarioniPhone/CreatingVideoforSafarioniPhone.html#//apple_ref/doc/uid/TP40006514-SW6 But this: curl --range 0-99 http://media.w3.org/2010/05/video/movie_300.mp4 -o /dev/null returns 100 bytes. So there is an issue in the byte range calculation. Fix PRs: Wicket 7.x: https://github.com/apache/wicket/pull/150 Wicket 8.x: https://github.com/apache/wicket/pull/149 Fixes: Wicket 7.x: https://github.com/apache/wicket/commit/b5ee0cbf5a1234524a57983c6bfacb2fdf8aeb97 Wicket 8.x: https://github.com/apache/wicket/commit/a169eb1125d93867c64377a8dc4066491ef510c7 was: curl --range 0-99 http://examples7x.wicket.apache.org/videos/wicket/resource/org.apache.wicket.examples.media.Home/video1-ver-538557E5F248D450160FC81033930591.mp4 -o /dev/null returns 99 bytes and not 100 as expected in this document: https://developer.apple.com/library/safari/documentation/AppleApplications/Reference/SafariWebContent/CreatingVideoforSafarioniPhone/CreatingVideoforSafarioniPhone.html#//apple_ref/doc/uid/TP40006514-SW6 But this: curl --range 0-99 http://media.w3.org/2010/05/video/movie_300.mp4 -o /dev/null returns 100 bytes. So there is an issue in the byte range calculation. Fix PRs: Wicket 7.x: https://github.com/apache/wicket/pull/150 Wicket 8.x: https://github.com/apache/wicket/pull/149 > Error in calculation of byte ranges > ----------------------------------- > > Key: WICKET-6058 > URL: https://issues.apache.org/jira/browse/WICKET-6058 > Project: Wicket > Issue Type: Bug > Components: wicket > Affects Versions: 7.1.0, 8.0.0-M1 > Reporter: Tobias Soloschenko > Assignee: Tobias Soloschenko > Fix For: 7.3.0, 8.0.0-M1 > > > curl --range 0-99 > http://examples7x.wicket.apache.org/videos/wicket/resource/org.apache.wicket.examples.media.Home/video1-ver-538557E5F248D450160FC81033930591.mp4 > -o /dev/null > returns 99 bytes and not 100 as expected in this document: > https://developer.apple.com/library/safari/documentation/AppleApplications/Reference/SafariWebContent/CreatingVideoforSafarioniPhone/CreatingVideoforSafarioniPhone.html#//apple_ref/doc/uid/TP40006514-SW6 > But this: > curl --range 0-99 http://media.w3.org/2010/05/video/movie_300.mp4 -o /dev/null > returns 100 bytes. > So there is an issue in the byte range calculation. > Fix PRs: > Wicket 7.x: https://github.com/apache/wicket/pull/150 > Wicket 8.x: https://github.com/apache/wicket/pull/149 > Fixes: > Wicket 7.x: > https://github.com/apache/wicket/commit/b5ee0cbf5a1234524a57983c6bfacb2fdf8aeb97 > Wicket 8.x: > https://github.com/apache/wicket/commit/a169eb1125d93867c64377a8dc4066491ef510c7 -- This message was sent by Atlassian JIRA (v6.3.4#6332)