Prebid.js icon indicating copy to clipboard operation
Prebid.js copied to clipboard

Prebid crashes with "Uncaught URIError: URI malformed" when URL contains some words in querystring

Open lanceloti opened this issue 6 years ago • 3 comments

Type of issue

Bug

Description

Prebid crashes with "Uncaught URIError: URI malformed" when URL contains some words in querystring

Test page

Any page containing this querystring for example: https://www.apolo11.com/efemerides.php?uf=RS&cidade=RS+-+Salto+do+Jacu%ED

Platform details

Prebid 3.21 using sample script https://acdn.adnxs.com/prebid/not-for-prod/1/prebid.js

Screenshot_293

lanceloti avatar May 28 '20 15:05 lanceloti

I think the issue is tied to the %ED at the end of the query string. That doesn't appear to be a normal encoded character. Is that part correct, or was it somehow a typo?

jsnellbaker avatar May 28 '20 17:05 jsnellbaker

@jsnellbaker you are right. Think the ploblem is that this site doesn't use utf-8.

lanceloti avatar May 28 '20 20:05 lanceloti

Hi @lanceloti I'm going to close this issue for now, since it appears to be a site-based issue rather than Prebid.js specific. Please let us know if there are any further questions/concerns on this topic.

jsnellbaker avatar Jun 01 '20 14:06 jsnellbaker