-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
AG-25455 Improve m3u-prune — content is not pruned if contains carria…
…ge return. #354 Squashed commit of the following: commit 5c5ff26 Merge: b96602b 514c7fe Author: Adam Wróblewski <adam@adguard.com> Date: Tue Sep 12 14:22:54 2023 +0200 Merge branch 'master' into fix/AG-25455 commit b96602b Author: Adam Wróblewski <adam@adguard.com> Date: Tue Sep 12 14:20:34 2023 +0200 Better fix for issue with CRLF commit 678a302 Author: Adam Wróblewski <adam@adguard.com> Date: Wed Sep 6 09:27:57 2023 +0200 Improve 'm3u-prune' — content is not pruned if contains carriage return
- Loading branch information
Showing
4 changed files
with
40 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
tests/scriptlets/test-files/manifestM3U8-carriage-return.m3u8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#EXTM3U | ||
#EXT-X-VERSION:4 | ||
#EXT-X-TARGETDURATION:6 | ||
#EXT-X-MEDIA-SEQUENCE:1 | ||
#EXT-X-PLAYLIST-TYPE:VOD | ||
#EXTINF:5.005, | ||
https://advert.com/foo.ts | ||
#EXT-X-DISCONTINUITY | ||
#EXTINF:6, | ||
https://example.com/segment1.ts | ||
#EXTINF:6, | ||
https://example.com/segment2.ts | ||
#EXTINF:6, | ||
https://example.com/segment3.ts | ||
#EXT-X-DISCONTINUITY |