jquery-archive/plugins.jquery.com

Changing the version number in the URL has unexpected behavior

Closed this issue · 6 comments

I recently added a new plugin:

http://plugins.jquery.com/queryParser/1.0.0/

It mostly worked as expected when I added it, but I realized I forgot my email, so I create version 1.0.1, tagged, and repushed. While I was waiting for the plugin site to publish my changes I modified the URL of the plugin to see if my changes were available yet:

http://plugins.jquery.com/queryParser/1.0.1/

Unexpectedly, I was redirected to the following URL, instead of getting a 404 error:

http://plugins.jquery.com/slashSearch/1.0.1/

Confirmed. Perhaps this is some really overzealous behaviour of the url autocorrection in WordPress?

I just wanted to include a note here to make sure to strip off the v prefix from the tag. It is allowed per the semver spec, but may make it difficult to find older versions if you don't know which tag has the prefix.

@Mottie The version number, not the tag, is what ends up in the URL. Version numbers cannot contain the v prefix.

Has this change been deployed yet. I changed the version # to 1.0.2 and got this URL

http://plugins.jquery.com/chaperone/1.0.2/

Instead of a 404 or message that the version doesn't exist.

Not yet.