René's URL Explorer Experiment


Title: TcfEuV2CoreSegment decoder incorrectly accepts corrupt PublisherRestrictions · Issue #67 · IABTechLab/iabgpp-java · GitHub

Open Graph Title: TcfEuV2CoreSegment decoder incorrectly accepts corrupt PublisherRestrictions · Issue #67 · IABTechLab/iabgpp-java

X Title: TcfEuV2CoreSegment decoder incorrectly accepts corrupt PublisherRestrictions · Issue #67 · IABTechLab/iabgpp-java

Description: Attached is a real-world example of a TCF string where the PublisherRestrictions field has been corrupted due to a bug in the CMP. The issue is the your reference decoder accepts this string. There is logic in the PublisherRestrictions d...

Open Graph Description: Attached is a real-world example of a TCF string where the PublisherRestrictions field has been corrupted due to a bug in the CMP. The issue is the your reference decoder accepts this string. There...

X Description: Attached is a real-world example of a TCF string where the PublisherRestrictions field has been corrupted due to a bug in the CMP. The issue is the your reference decoder accepts this string. There...

Opengraph URL: https://github.com/IABTechLab/iabgpp-java/issues/67

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"TcfEuV2CoreSegment decoder incorrectly accepts corrupt PublisherRestrictions","articleBody":"Attached is a real-world example of a TCF string where the `PublisherRestrictions` field has been corrupted due to a bug in the CMP.\nThe issue is the your reference decoder accepts this string.\n\n- There is logic in the `PublisherRestrictions` decoder `AbstractEncodableBitStringDataType::getHardFailIfMissing()` that allows this field to be missing, however the field is not missing - it is corrupt.\n\n- This means that anyone who uses this decoder, or has their own direct port of it, may be unknowingly ignoring the `PublisherRestrictions` field.\n\n- Also, this logic only works because `PublisherRestrictions` is the last data field.\n\nOur custom decoder rejects this string and this has led to confusion as the string is accepted by the popular online test decoders (except for https://iabtcf.com/#/decode, which also rejects this string) .\n\nPossible Solution:\n- The decoder needs to distinguish between 'missing' and 'corrupt'.\n\n\nExample string:\n```\nCQLvHAAQLvHAAAKA4DENBaFsAP_gAEPgAAwIKxtX_G9_bXlr8X736ftkeY1f99h77sQxBhZBk-4FzLvW_JwX32E7NA36tqYKmRIAu3TBIQNlHJDURVCgaogVrTDMaEyUoTtKJ6BkiFMRY2dYCFxvm4tjeQCY5vr991d52R-tbdrs3dzyy4hnv3a9_-S1WJCdA5-tDfv9bROb89IO5_x8v4v4_N7pE2_eT1l_tWvp7D9-ctv_9XX99_fbff9Pn_-uB_-_X__f_H37grAAQYCABAEAQICAAAAAQAAEAAEABAAAAAAACgAABEEAAEDAAAQAIAQAAABAABAAAAIAAAAAgACAAAAAEAgAAAACgADAAAAAAAYAAAMAEgIAAAAAQACmABAIFAAEJAFAEACEAEEAIQAABAEACAEABRwBAACBAoAAAQAAEAAAFgIDgAQEpAgACIgEAAAIAEAggAAEQjYACCAASCqqBAiiCAQLBoQFPaQAkgBACDgmQAgABQAHAAsA\n```\n\nThe line of code in question is:\nhttps://github.com/IABTechLab/iabgpp-java/blob/d3d5017cd721e0a9d52ab7080d0f48e6be96db82/iabgpp-encoder/src/main/java/com/iab/gpp/encoder/segment/TcfEuV2CoreSegment.java#L70\n\nPassing `false` to the `EncodableArrayOfFixedIntegerRanges` constructor allows it to accept corrupt data.","author":{"url":"https://github.com/jamescooper-blis","@type":"Person","name":"jamescooper-blis"},"datePublished":"2025-03-07T19:22:46Z","url":"https://github.com/IABTechLab/iabgpp-java/issues/67"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:b4d1877a-3137-d3ec-92e7-83129bb129e6
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idD090:2D4426:1510EB:1CD8A8:6AF64DC5
html-safe-nonce6732a378f401e64e5b59b1ca7cceffedaf2a992f557b514af65141d5e68f2a18
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMDkwOjJENDQyNjoxNTEwRUI6MUNEOEE4OjZBRjY0REM1IiwidmlzaXRvcl9pZCI6IjkxNTUzOTA4MDIzNjY5NzU0MjkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacb4e1d39b59766e94a28e7d96ed3f9869978e2b7fcd4342c5efbe3ebb2eae4088
hovercard-subject-tagissue:2903753702
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/IABTechLab/iabgpp-java/67/issue_layout
twitter:imagehttps://opengraph.githubassets.com/9678d7864f36a07d1361453cda4afd522a4ae724e53ae28a2fca6e41b123745e/IABTechLab/iabgpp-java/issues/67
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/9678d7864f36a07d1361453cda4afd522a4ae724e53ae28a2fca6e41b123745e/IABTechLab/iabgpp-java/issues/67
og:image:altAttached is a real-world example of a TCF string where the PublisherRestrictions field has been corrupted due to a bug in the CMP. The issue is the your reference decoder accepts this string. There...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamejamescooper-blis
hostnamegithub.com
expected-hostnamegithub.com
Nonef08f841c97bca81898b33b24705801fbf36c27aa3a76d422631761ce578f7b63
turbo-cache-controlno-preview
go-importgithub.com/IABTechLab/iabgpp-java git https://github.com/IABTechLab/iabgpp-java.git
octolytics-dimension-user_id82903538
octolytics-dimension-user_loginIABTechLab
octolytics-dimension-repository_id538620496
octolytics-dimension-repository_nwoIABTechLab/iabgpp-java
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id538620496
octolytics-dimension-repository_network_root_nwoIABTechLab/iabgpp-java
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releaseb946aa396e8129468b84468b6046f18d957f446c
ui-targetcanary-2
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/IABTechLab/iabgpp-java/issues/67#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FIABTechLab%2Fiabgpp-java%2Fissues%2F67
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FIABTechLab%2Fiabgpp-java%2Fissues%2F67
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=IABTechLab%2Fiabgpp-java
Reloadhttps://github.com/IABTechLab/iabgpp-java/issues/67
Reloadhttps://github.com/IABTechLab/iabgpp-java/issues/67
Reloadhttps://github.com/IABTechLab/iabgpp-java/issues/67
IABTechLabhttps://github.com/IABTechLab
iabgpp-javahttps://github.com/IABTechLab/iabgpp-java
Codehttps://github.com/IABTechLab/iabgpp-java
Issues13 (13)https://github.com/IABTechLab/iabgpp-java/issues
Pull requests4 (4)https://github.com/IABTechLab/iabgpp-java/pulls
Actionshttps://github.com/IABTechLab/iabgpp-java/actions
Projectshttps://github.com/IABTechLab/iabgpp-java/projects
Security and qualityhttps://github.com/IABTechLab/iabgpp-java/security
Insightshttps://github.com/IABTechLab/iabgpp-java/pulse
https://github.com/IABTechLab/iabgpp-java
New issuehttps://github.com/login?return_to=https://github.com/IABTechLab/iabgpp-java/issues/67
New issuehttps://github.com/login?return_to=https://github.com/IABTechLab/iabgpp-java/issues/67
TcfEuV2CoreSegment decoder incorrectly accepts corrupt PublisherRestrictionshttps://github.com/IABTechLab/iabgpp-java/issues/67#top
bugSomething isn't workinghttps://github.com/IABTechLab/iabgpp-java/issues?q=state%3Aopen%20label%3A%22bug%22
investigateTo validate if still an issuehttps://github.com/IABTechLab/iabgpp-java/issues?q=state%3Aopen%20label%3A%22investigate%22
reviewedFor library maintainers only. Indicates that this issue was reviewed.https://github.com/IABTechLab/iabgpp-java/issues?q=state%3Aopen%20label%3A%22reviewed%22
https://github.com/jamescooper-blis
jamescooper-blishttps://github.com/jamescooper-blis
on Mar 7, 2025https://github.com/IABTechLab/iabgpp-java/issues/67#issue-2903753702
https://iabtcf.com/#/decodehttps://iabtcf.com/#/decode
iabgpp-java/iabgpp-encoder/src/main/java/com/iab/gpp/encoder/segment/TcfEuV2CoreSegment.javahttps://github.com/IABTechLab/iabgpp-java/blob/d3d5017cd721e0a9d52ab7080d0f48e6be96db82/iabgpp-encoder/src/main/java/com/iab/gpp/encoder/segment/TcfEuV2CoreSegment.java#L70
d3d5017https://github.com/IABTechLab/iabgpp-java/commit/d3d5017cd721e0a9d52ab7080d0f48e6be96db82
lamrowenahttps://github.com/lamrowena
reviewedFor library maintainers only. Indicates that this issue was reviewed.https://github.com/IABTechLab/iabgpp-java/issues?q=state%3Aopen%20label%3A%22reviewed%22
investigateTo validate if still an issuehttps://github.com/IABTechLab/iabgpp-java/issues?q=state%3Aopen%20label%3A%22investigate%22
bugSomething isn't workinghttps://github.com/IABTechLab/iabgpp-java/issues?q=state%3Aopen%20label%3A%22bug%22
on Dec 17, 2025https://github.com/IABTechLab/iabgpp-java/issues/67#event-21625438052
Sign up for freehttps://github.com/signup?return_to=https://github.com/IABTechLab/iabgpp-java/issues/67
Sign in to commenthttps://github.com/login?return_to=https://github.com/IABTechLab/iabgpp-java/issues/67
bugSomething isn't workinghttps://github.com/IABTechLab/iabgpp-java/issues?q=state%3Aopen%20label%3A%22bug%22
investigateTo validate if still an issuehttps://github.com/IABTechLab/iabgpp-java/issues?q=state%3Aopen%20label%3A%22investigate%22
reviewedFor library maintainers only. Indicates that this issue was reviewed.https://github.com/IABTechLab/iabgpp-java/issues?q=state%3Aopen%20label%3A%22reviewed%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.