Skip to content

[Port dspace-8_x] src/robots.txt.ejs: remove blank line comments - #5997

Merged
tdonohue merged 1 commit into
dspace-8_xfrom
backport-5990-to-dspace-8_x
Jul 24, 2026
Merged

[Port dspace-8_x] src/robots.txt.ejs: remove blank line comments#5997
tdonohue merged 1 commit into
dspace-8_xfrom
backport-5990-to-dspace-8_x

Conversation

@dspace-bot

Copy link
Copy Markdown
Contributor

Port of #5990 by @alanorth to dspace-8_x.

Remove comment about blank lines not being allowed. This may have
been true at one point, but recent verification with Google's own
robotstxt tool shows no difference in parsing with or without the
blank lines. Also, the RFC for the Robots Exclusion Protocol does
not mention such a limitation.

See: https://github.com/google/robotstxt
See: https://www.rfc-editor.org/rfc/rfc9309.html
(cherry picked from commit a000038)
@dspace-bot dspace-bot added component: SEO Search Engine Optimization needs documentation PR is missing documentation. All new features and config changes require documentation. labels Jul 24, 2026
@tdonohue tdonohue removed the needs documentation PR is missing documentation. All new features and config changes require documentation. label Jul 24, 2026
@tdonohue tdonohue added this to the 8.5 milestone Jul 24, 2026
@tdonohue
tdonohue merged commit 0707f78 into dspace-8_x Jul 24, 2026
20 of 22 checks passed
@tdonohue
tdonohue deleted the backport-5990-to-dspace-8_x branch July 24, 2026 17:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component: SEO Search Engine Optimization

Projects

Development

Successfully merging this pull request may close these issues.

3 participants