Skip to content

Commit

Permalink
bug(youtube): keep time mark parameter
Browse files Browse the repository at this point in the history
The t parameter contains the timestamp to jump to in a video. It's not a tracking parameter but must be kept.

fixes svenjacobs#460
  • Loading branch information
guerda authored Sep 16, 2024
1 parent 71ba8c8 commit 220a3c0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import com.svenjacobs.app.leon.core.domain.sanitizer.SanitizerId

class YoutubeSanitizer :
RegexSanitizer(
RegexFactory.exceptParameter("(v|search_query|list)"),
RegexFactory.exceptParameter("(v|search_query|list|t)"),
) {

override val id = SanitizerId("youtube")
Expand Down

0 comments on commit 220a3c0

Please sign in to comment.