Uploaded image for project: 'ManifoldCF'
  1. ManifoldCF
  2. CONNECTORS-814

FileSystem output connector does not properly handle case where a path and a file collide

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • ManifoldCF 1.4.1
    • ManifoldCF 1.5
    • File system connector
    • None

    Description

      Let's say the website defines a URL like this:

      http://mysite/news

      That URI actually gets mapped to a file on the web server, say http://mysite/news/index.html, but the http://mysite/news URI does exist and gets sent as the documentURI to addOrReplaceDocument().

      MCF's FileSystem connector gets the http://mysite/news URL and creates a directory for saving that content that looks like this http/mysite/news, where news is a file.

      But then if the site also defines a URL like this http://mysite/news/local/today.html, MCF's FileSystem connector fails trying to create the directory http/mysite/news/local because part of it, http/mysite/news, already exists as a file.

      Attachments

        Activity

          People

            kwright@metacarta.com Karl Wright
            kwright@metacarta.com Karl Wright
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: