[wp-meta] [Making WordPress.org] #1578: Zip Files
Making WordPress.org
noreply at wordpress.org
Fri May 20 08:36:24 UTC 2016
#1578: Zip Files
------------------------------+------------------
Reporter: obenland | Owner:
Type: task | Status: new
Priority: high | Milestone:
Component: Plugin Directory | Resolution:
Keywords: |
------------------------------+------------------
Comment (by dd32):
Another bug, the `stable_tag` can be set to all sorts of amazing things,
including this scenario:
- https://plugins.svn.wordpress.org/bulletproof-security/trunk/readme.txt
=> `Stable tag: .53.5` will result in a ZIP filename of `bulletproof-
security.0.53.5.zip` note the additional prefixed 0 which is neither in
the readme nor in the SVN tag.
Seems like the fix here is to:
- Prefix the 0 when the `stable_tag` starts with `.`
- When generating the zip, if specified tag (`/tags/0.53.5`) doesn't
exist and is `0.` prefixed, check to see if the tag without the zero
exists (`/tags/.53.5`).
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/1578#comment:8>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list