Uploaded image for project: 'Droids'
  1. Droids
  2. DROIDS-4

NoRobotsClient does not follow the standard for robot.txt location

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • None
    • None

    Description

      I see that the url for the robots was relative to the path and this not follow the robots standard.

      ...
      public static URL findRobotsUrl(URL base, String prefix) throws MalformedURLException {
      URL url = new URL(base, "robots.txt");
      boolean exist = existUrl(url);
      ...

      It should be "new URL(base, "/robots.txt");"

      I found this on the web:

      Attach a patch to solve this behavior.

      Salu10.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            jpuerto Javier Puerto
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment