Skip to content

Test: secure-creative validation#3883

Open
marki1an wants to merge 5 commits into
secure-markup-validation-updatefrom
qaa/secure-creative
Open

Test: secure-creative validation#3883
marki1an wants to merge 5 commits into
secure-markup-validation-updatefrom
qaa/secure-creative

Conversation

@marki1an
Copy link
Copy Markdown
Collaborator

@marki1an marki1an commented Apr 3, 2025

🔧 Type of changes

  • new bid adapter
  • bid adapter update
  • new feature
  • new analytics adapter
  • new module
  • module update
  • bugfix
  • documentation
  • configuration
  • dependency update
  • tech debt (test coverage, refactorings, etc.)

✨ What's the context?

What's the context for the changes?

🧠 Rationale behind the change

Why did you choose to make these changes? Were there any trade-offs you had to consider?

🔎 New Bid Adapter Checklist

  • verify email contact works
  • NO fully dynamic hostnames
  • geographic host parameters are NOT required
  • direct use of HTTP is prohibited - implement an existing Bidder interface that will do all the job
  • if the ORTB is just forwarded to the endpoint, use the generic adapter - define the new adapter as the alias of the generic adapter
  • cover an adapter configuration with an integration test

🧪 Test plan

How do you know the changes are safe to ship to production?

🏎 Quality check

  • Are your changes following our code style guidelines?
  • Are there any breaking changes in your code?
  • Does your test coverage exceed 90%?
  • Are there any erroneous console logs, debuggers or leftover code in your changes?

@marki1an marki1an added the tests Functional or other tests label Apr 3, 2025
@marki1an marki1an self-assigned this Apr 3, 2025
@osulzhenko osulzhenko changed the base branch from master to secure-markup-validation-update May 16, 2025 07:54
Comment on lines +850 to +874
url | secure | secureMarkup
"http%3A://secure-assets.${PBSUtils.randomString}.com" | NON_SECURE | SKIP.value
"http://secure-assets.${PBSUtils.randomString}.com" | NON_SECURE | SKIP.value

"https://secure-assets.${PBSUtils.randomString}.com" | SECURE | SKIP.value
"http://www.w3.org" | SECURE | SKIP.value
"http%3a://www.quantcast.com/adchoices" | SECURE | SKIP.value
"http://" | SECURE | SKIP.value

"http%3A://secure-assets.${PBSUtils.randomString}.com" | NON_SECURE | WARN.value
"http://secure-assets.${PBSUtils.randomString}.com" | NON_SECURE | WARN.value

"https://secure-assets.${PBSUtils.randomString}.com" | SECURE | WARN.value
"http://www.w3.org" | SECURE | WARN.value
"http%3a://www.quantcast.com/adchoices" | SECURE | WARN.value
"http://" | SECURE | WARN.value

"http%3A://secure-assets.${PBSUtils.randomString}.com" | NON_SECURE | ENFORCE.value
"http://secure-assets.${PBSUtils.randomString}.com" | NON_SECURE | ENFORCE.value

"https://secure-assets.${PBSUtils.randomString}.com" | SECURE | ENFORCE.value
"http://www.w3.org" | SECURE | ENFORCE.value
"http%3a://www.quantcast.com/adchoices" | SECURE | ENFORCE.value
"http://" | SECURE | ENFORCE.value

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove empty space and w3 and quantcast from hardcode. list is NOT limited by the w3 and quantcast

Copy link
Copy Markdown
Collaborator Author

@marki1an marki1an Feb 19, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't see a point in making it like constant... currently we use it in one place.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

blocked tests Functional or other tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants