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

Asset import fails if there is a query string #682

Closed
nyehughes opened this issue Mar 10, 2020 · 1 comment
Closed

Asset import fails if there is a query string #682

nyehughes opened this issue Mar 10, 2020 · 1 comment

Comments

@nyehughes
Copy link

Description

Asset import fails with the following error:
Invalid characters passed for attempted conversion, these have been ignored - AssetHelper.php: 321.

Googling around seems to suggest problem is trying to use base_convert($string, 10, 36) with a non-number, on PHP versions more than 7.4.

Steps to reproduce

import an asset with a query string, for example, WFOCouncil-StPetersburg.jpg?dl=1

Additional info

  • Plugin version:4.2.0.1
  • Craft version: 3.4.9
  • PHP version: 7.4.3
@brandonkelly
Copy link
Member

Thanks for reporting that! Fixed for the next release.

brandonkelly added a commit that referenced this issue Mar 26, 2020
# Conflicts:
#	CHANGELOG.md
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

No branches or pull requests

2 participants