Closed (fixed)
Project:
Drupal core
Version:
6.x-dev
Component:
base system
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 Aug 2008 at 07:05 UTC
Updated:
24 Dec 2008 at 20:32 UTC
This patch removes the obsolete paths /database/ and /update/ and reorders the other paths and files by alphabet.
This patch needs to be backported to D6 and D5 as both also contains the obsolete path's.
| Comment | File | Size | Author |
|---|---|---|---|
| D7_updated_robotstxt.patch | 1.04 KB | hass |
Comments
Comment #1
dries commentedI've committed this to CVS HEAD. Thanks. Lowering version to Drupal 6.
Comment #2
hass commentedPatch also applies cleanly to D6 and D5.
Comment #3
gábor hojtsyI am a bit reluctant to commit this patch. On the plus side, it might prevent disallowing indexing of directories, the user might create in her Drupal installation, such as /database and /updates, so that might be an improvement for Drupal 6. On the minus side, it is unlikely that these paths are used and robots.txt is often edited, so we should reserve to changing it on production branches only when required, not for "cosmetic" changes. Otherwise we just give people some headache to diff and update their robots.txt for the new version without much benefit.
Comment #4
gábor hojtsyPending on feedback from http://lists.drupal.org/pipermail/development/2008-November/031378.html
Comment #5
alexanderpas commentedComment #6
gábor hojtsyOk, committed to Drupal 6 to coincide with the .htaccess change as well at: http://drupal.org/node/28776
Comment #7
drummCommitted to 5.x.