Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image file name has duplicate dots in extension due to #6771 #6825

Closed
TwiN opened this issue Nov 9, 2021 · 1 comment · Fixed by #6826
Closed

Image file name has duplicate dots in extension due to #6771 #6825

TwiN opened this issue Nov 9, 2021 · 1 comment · Fixed by #6826

Comments

@TwiN
Copy link

TwiN commented Nov 9, 2021

Version

5.0.0-beta.7

Reproduction link

github.com

Environment info

  System:
    OS: Windows 10 10.0.19043
    CPU: (8) x64 Intel(R) Core(TM) i7-9700K CPU @ 3.60GHz
  Binaries:
    Node: 14.17.6 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.22.5 - C:\Program Files (x86)\Yarn\bin\yarn.CMD
    npm: 7.8.0 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Chrome: 95.0.4638.69
    Edge: Spartan (44.19041.1266.0), Chromium (95.0.1020.44)
  npmPackages:
    @vue/babel-helper-vue-jsx-merge-props:  1.2.1
    @vue/babel-helper-vue-transform-on:  1.0.2
    @vue/babel-plugin-jsx:  1.1.1
    @vue/babel-plugin-transform-vue-jsx:  1.2.1
    @vue/babel-preset-app:  5.0.0-rc.0
    @vue/babel-preset-jsx:  1.2.4
    @vue/babel-sugar-composition-api-inject-h:  1.2.1
    @vue/babel-sugar-composition-api-render-instance:  1.2.4
    @vue/babel-sugar-functional-vue:  1.2.2
    @vue/babel-sugar-inject-h:  1.2.2
    @vue/babel-sugar-v-model:  1.2.3
    @vue/babel-sugar-v-on:  1.2.3
    @vue/cli-overlay:  5.0.0-rc.0
    @vue/cli-plugin-babel: 5.0.0-beta.7 => 5.0.0-beta.7
    @vue/cli-plugin-router:  5.0.0-rc.0
    @vue/cli-plugin-vuex:  5.0.0-rc.0
    @vue/cli-service: 5.0.0-beta.7 => 5.0.0-beta.7
    @vue/cli-shared-utils:  5.0.0-rc.0
    @vue/component-compiler-utils:  3.3.0
    @vue/web-component-wrapper:  1.3.0
    vue: ^2.6.11 => 2.6.14
    vue-hot-reload-api:  2.3.4
    vue-loader:  16.8.3 (15.9.8)
    vue-style-loader:  4.1.3
    vue-template-compiler: ^2.6.11 => 2.6.14
    vue-template-es2015-compiler:  1.9.1
  npmGlobalPackages:
    @vue/cli: Not Found

Steps to reproduce

  1. yarn install
  2. yarn run serve
  3. Navigate to the served page
  4. Open web console
  5. Note that the logo image served is suffixed by ..png instead of .png
  6. Try again with version 5.0.0-beta.6 (package.json)
  7. Note that the logo image served is suffixed by .png, as it should be

What is expected?

Image file name should be logo.png (excl. hash in name)

What is actually happening?

Image file name is logo..png (excl. hash in name)


I believe this was caused by #6771

@TwiN
Copy link
Author

TwiN commented Nov 17, 2021

@sodatea Thank you!

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

Successfully merging a pull request may close this issue.

2 participants