Skip to content

Ogury Bid Adapter: repair a site.page that is not an absolute URL - #15630

Open
RemyLespagnol wants to merge 2 commits into
prebid:masterfrom
Ogury:fix/ogury-site-page-not-absolute-url
Open

RemyLespagnol wants to merge 2 commits into
prebid:masterfrom
Ogury:fix/ogury-site-page-not-absolute-url

Conversation

@RemyLespagnol

Copy link
Copy Markdown
Contributor

Type of change

  • Bugfix

Description

#15480 removed the adapter's site.page override, so the adapter now forwards whatever the publisher's wrapper put in ortb2.site.page. Some wrappers set that field to a bare hostname (www.example.com) rather than an absolute URL. Such a value has no resolvable origin and no page path, and our endpoint rejects the request.

resolveSitePage() falls back to refererInfo.page when site.page carries no http/https scheme, and leaves every absolute URL untouched. It reads nothing from the top window, so the cross-origin SecurityError that #15480 fixed cannot come back — should resolve site.page without any top-window location read locks that in.

onBidTimeout resolves the page the same way, so timeout monitoring reports the URL the bid request actually carried.

Adapter version bumped to 2.1.2.

Other information

Follow-up to #15480.

@barecheck

barecheck Bot commented Sep 18, 2026

Copy link
Copy Markdown

Barecheck - Code coverage report

Total: 91.38%

Your code coverage diff: 0.01% ▴

✅ All code changes are covered

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

Successfully merging this pull request may close these issues.

1 participant