Repository navigation
Fix the findings of a full crawl with OpenSpider - #76
Merged
Merged
Conversation
The image gallery paginated without end. On the last page the "Next" button was only greyed out, its link still pointed one page further, and pages past the end answered 200. A crawler followed that to page 2725 in every category and language. Pages past the end now answer 404, the buttons at either end have no href, and listImages skips the row query once the offset passes the total, so ?page=1e300 no longer ends in a 500. Other fixes from the same crawl: - The report form rendered its heading after the footer, because it read ?url= with useSearchParams behind Suspense. The page now reads it on the server. - Each image page links the report form with its own ?url=, 8,478 addresses in total. The link is nofollow and robots.txt blocks the query variants, the form itself stays crawlable. - Image page titles include the spawn name and get shorter for long labels. "Trailer" was the title of 16 different pages. - An empty gallery category is noindex and no longer says "0 images". - Longer meta descriptions for the legal and bot statistics pages. - Footer: the Tebex credit is gone (nothing is sold through Tebex since the scripts went free), musiker15.de is linked in the page language, and Discord uses the invite address discord.gg redirected to.
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.Scanned FilesNone |
Code coverage overviewLanguages: TypeScript TypeScript / code-coverage/vitest
View coverage of the 1 most impacted file.
ℹ️ Calculations represent line coverage. Results may change as calculations are updated. Updated |
There was a problem hiding this comment.
Graphify review 
16 possible issues to check · High impact
The report page now passes its URL query value from the server to the form.
16 possible issues we couldn't confirm
- Footer Musiker15 link now sends visitors to a language-specific path that may not exist on musiker15.de ·
components/layout/Footer.tsx:215 - Report form loses its prefilled URL if the page does not pass
initialUrlfrom?url=·app/[lang]/(site)/report/ReportClient.tsx:31 - Image titles always end in "PNG", even for images whose stored extension is not PNG ·
lib/images.ts:263 - +13 more in Graphify
They don't change the score.
Code graph · 248 functions depend on this change
- 94 of 94 test files are affected by this change.
- Gate, test list and every flagged function: in the Graphify check.
Reviewed a9f398b · Full report in the Graphify check
imageTitle said PNG for every image. It now takes the format from the stored extension and only calls a PNG transparent.
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.
A full crawl of www.msk-scripts.de with OpenSpider (24.11.2026, 47,371 URLs) turned up the problems below. Most of those URLs came from one bug.
Gallery pagination without an end
On the last page of a gallery category the "Next" button was disabled only visually. The
asChildlink kept its href topage + 1, and every page past the end answered 200 with another "Next". The crawler followed that to page 2725 in all four categories and both languages, about 21,800 empty pages, and the last few answered 500.notFound().listImagesreturns an empty page without querying rows once the offset passes the total. Before,?page=1e300or?page=InfinityputOFFSET 6e+301into the SQL.Report form
/report?url=…, 8,478 addresses with/reportas canonical. The link now hasrel="nofollow"and robots.txt disallows/en/report?and/de/inhalt-melden?. The form without a query stays crawlable.?url=withuseSearchParamsinside Suspense, so the server streamed the h1 after the footer's h2. The page reads the parameter on the server now.Smaller findings
/deor/en, and the Discord invite usesdiscord.com/invite/…instead of thediscord.ggredirect.Not changed: the 307 from
/(x-default) is intended, and the missing security headers on/_next/static/*.jsdon't matter for scripts.Tests
tests/imageListing.test.ts(end of pagination, titles) andtests/robots.test.ts(query variants of the report form). Both were checked by removing the fix, which turned them red. Typecheck, lint and all 1,516 tests pass locally.