Twitter card images using encoded URIs


When using the twitter card validator for ‘Summary Large Image’ with the URL as the for the twitter:image:src a preview is successfully generated and I can view the desired image.

However when I try to validate a page including a URL in the same format I am told that there is an ‘invalid URL’ provided.

Any ideas why this is happening?



I managed to solve the issue.

Originally I was setting the meta tag using client side javascript which I later read does not work. I have now changed this to a server side generated meta tag and everything seems to be working as intended.