Repository navigation
fix: open /privacy and /terms to crawlers on both hosts - #427
Merged
Merged
Conversation
The crawl gate answered 402 to ClaudeBot and other crawlers on the legal pages of nixamp.com and backtoschool.help, which a connector directory's review crawler must read. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ThreatCrush Security Scan0 finding(s) in the 2 file(s) this pull request changes. Nothing in the files this pull request changes. 56 pre-existing finding(s) elsewhere in the repository — **HIGH**: 17 | **MEDIUM**: 15 | **LOW**: 24Not introduced by this pull request.
…and 36 more; the full set is in the SARIF artifact. Snippets are redacted; ThreatCrush never prints matched credential material. |
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.
The crawl gate (src/paywall.ts createCrawlGate) returned 402 for /privacy and /terms to bot UAs (ClaudeBot, GPTBot) on nixamp.com and backtoschool.help, so a connector directory review crawler could not read them. Adds both to the gateway openPaths (as profullstack/bufferoverride#45 did); the gate is path-based and one per process, so this covers both hosts. Test: GPTBot and ClaudeBot get through on both hosts.
Local: tsc clean; bun test test/paywall.test.ts test/legal.test.ts, 16 pass.
🤖 Generated with Claude Code