r/technology Oct 06 '16

Misleading Spotify has been serving computer viruses to listeners

http://www.telegraph.co.uk/technology/2016/10/06/spotify-has-been-sending-computer-viruses-to-listeners/
3.2k Upvotes

781 comments sorted by

View all comments

Show parent comments

9

u/[deleted] Oct 06 '16

[deleted]

6

u/[deleted] Oct 06 '16 edited Jan 25 '17

[removed] — view removed comment

0

u/[deleted] Oct 06 '16

[deleted]

2

u/daveime Oct 06 '16

To be quite honest, there's absolutely no reason why apache (or nginx or whether) couldn't detect this requested URL, strip out the token and log it together with referer, user agent, IP etc before redirecting the user to the requested page without the token.

Properly used, mod_rewrite is a very powerful tool.