Secret Mixter + Listening Party
skip
Home » Forums » Bugs » Changing username in URL changes username displayed on page

Changing username in URL changes username displayed on page

bangcorrupt
.
permalink   Wed, Mar 4, 2020 @ 4:50 PM
Changing the username in the URL for an upload will change the username displayed for that upload.


For example, my upload:

http://beta.ccmixter.org/files/bangcorrupt/60966

can be changed to:

http://beta.ccmixter.org/files/snowflake/60966


This also affects the non beta site, but only the breadcrumb links are affected:

http://ccmixter.org/files/bangcorrupt/60966

http://ccmixter.org/files/snowflake/60966


An alternative way of looking at it is that changing the upload number will display that upload as belonging to the current user:

http://beta.ccmixter.org/files/bangcorrupt/60681

http://beta.ccmixter.org/files/bangcorrupt/60682


In each case I would expect the second URL to be invalid and produce a 404 error.

This appears to work for any combination of valid username and valid upload number, but I haven’t tested thoroughly.