Skip to content

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

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

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

Conversation

@dspace-bot

Copy link
Copy Markdown
Contributor

Port of #5990 by @alanorth to dspace-10_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 modified the milestones: 11.0, 10.1 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 merged commit 74d68f9 into dspace-10_x Jul 24, 2026
16 of 17 checks passed
@tdonohue
tdonohue deleted the backport-5990-to-dspace-10_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