2016-01-23, 11:37 AM
Spotify MyCode
|
2018-09-09, 03:52 PM
Removed post?
2018-09-09, 04:13 PM
^ not sure if the code is still valid - at present it is available through archive.org capture
2020-04-29, 07:03 PM
(This post was last modified: 2020-04-29, 07:04 PM by Mixy. Edited 1 time in total.)
A small update
Title
Regular expression
Replacement
Examples [spotify=track]3A9CyZ67l8GR6MRqNThS3s[/spotify] [spotify=playlist]3cqyIkP2DDmWc5iExmbTld[/spotify] [spotify=album]4Yv09HhX5L4fvlHHpTZ9UW[/spotify] Result
2020-05-18, 12:57 PM
interesting tutorial. However, isn't spotify if not logged in, it only shows a preview of the song?
It's only shows 30 seconds even if I logged on Spotify. Is there any update for this?
2021-12-17, 07:15 PM
(2020-04-29, 07:03 PM)Mixy Wrote: A small update XSS vulnerable. Do not use.
2024-12-22, 07:09 AM
(This post was last modified: 2024-12-28, 08:13 AM by Kozlik. Edited 1 time in total.)
Is there a way to make Mixy's MyCode not be XSS vulnerable?
Would modifying the regex to be: \[spotify=(album|track|playlist)\]([a-zA-Z0-9-_]+)\[/spotify\] (restricts the second capturing group to only alphanumeric characters, hyphens, and underscores)be enough to prevent XSS vulnerabilities? |
« Next Oldest | Next Newest »
|
Users browsing this thread: 4 Guest(s)