Repository navigation
Conversation
…res read the page's own host #1449 Signed-off-by: Nik Cubrilovic <[email protected]>
…read from the page's own host #1449 Signed-off-by: Nik Cubrilovic <[email protected]>
nc9
force-pushed
the
fix/tech-hosting-suffix-1449
branch
from
November 1, 2026 02:03
e3c8282 to
e9c7218
Compare
Merged
Contributor
Author
|
Landed in v0.0.155 as nik |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #1449. Same class as #1448 (merged): a host-suffix hosting signature matched the suffix anywhere in the page HTML, so a page that loads a third-party script from the suffix read as hosted on that platform.
Change
In
generated.ts(hand edit: the generated file's source data is not in the repo), theurl-pathdetector of four signatures becomesurl-host, anchored to the page's own host name, a trailing dot allowed:surge-sh:(^|.)surge.sh; theServer: Surgeheader signal stays.railway-app:(^|.)railway.app(coversup.railway.app); theServer: railwayheader signal stays.aws-amplify-hosting:(^|.)amplifyapp.com.activecampaign:(^|.)ac-page.com(ActiveCampaign Pages); its other signals are unchanged.Tests
hosting-suffix-1449.test.ts(14), per platform: a page on its own domain that loads a script from, links to or names the suffix is not detected; hosts that only contain the suffix (evil-surge.sh,surge.sh.example.net,x.surge.sh.example.com) are not; the platform's own host is, with a trailing dot too; the Surge and Railway header signals still detect on any host. All tech-detect suites pass;tsgoclean.Not run: the corpus check (53) for lost true detections; it is for after release. A site that mentions one of these hosts only in its HTML and is not on the platform stops being reported, which is the intended removal.
Docs:
cloud/technologies.mdxnames every platform read from the page's own host (Firebase, Surge, Railway, Amplify, ActiveCampaign Pages) and says Amplify and ActiveCampaign Pages have no header signal, so a custom domain behind either is no longer detected as hosted there (recall loss, intended; only Surge and Railway keep theirServerheader signals). CHANGELOG bullet. Rebased on main v0.0.153. Skill change: none.nik