gatsby-source-prismic-graphql icon indicating copy to clipboard operation
gatsby-source-prismic-graphql copied to clipboard

Unable to query field imageSharp when the image url contain non-ASCII character

Open roytsang opened this issue 4 years ago • 1 comments

When the image file name on prismic contain non-ASCII characters, query the imageSharp will give following error Unexpected error value: \"wrong url: https://images.prismic.io/{PRISMIC_REPO}/df6e48e1-c694-497c-ba98-2c77d7a5099e_貓.jpg

Any quick workaround to fix this issue?

roytsang avatar Mar 22 '20 14:03 roytsang

I had to ask the content editors to avoid using non-ASCII because of this same issue. It would be great if there was an actual fix...

nickmcmillan avatar Mar 25 '20 07:03 nickmcmillan