Skip to content

fix generated plugin name in scrape directory listing#280

Open
schplurtz wants to merge 1 commit intogeoserver:masterfrom
schplurtz:fix-community-ext-links
Open

fix generated plugin name in scrape directory listing#280
schplurtz wants to merge 1 commit intogeoserver:masterfrom
schplurtz:fix-community-ext-links

Conversation

@schplurtz
Copy link

Hi,

When downloading plugins, install-extensions.sh generates a sed regexp to extract the plugin filename from the http listing when it has to guess the real filename.

To do that, among other things, it adds '-plugin\\.zip' to the extension name.
Since this is between simple quotes, there is no need to escape the \ itself. and the
correct form is '-plugin\.zip'

Without this PR, the script fails to match, say, geoserver-2.28-SNAPSHOT-pluginname-plugin.zip against the wrong "{EXTENSION_REGEX_ESCAPED}"'-plugin\\.zip' regexp.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant