Uploaded image for project: 'Archiva (Retired)'
  1. Archiva (Retired)
  2. MRM-1793

trailing spaces not trimmed in upload form

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.4-M4
    • 2.0.0
    • Web Interface
    • None
    • Linux, Firefox 17

    Description

      In the "upload artifact" page, when I put a group ID ending by a trailing space (after a copy/paste for instance), archiva won't trim it, and will create an ugly directory with a space at the end of its name ! Of course it's not exactly a good behaviour, but moreover, when there's such a directory in the repo, Archiva isn't able to browse it any more, and displays an error message "Failed to resolve path repositories/proxied-releases/content/test relative to node /".

      I didn't test trailing spaces in artifact or version, but I suppose they are probably treated the same way, causing the same error...

      Could you fix it for version 2.0.0 ? It's an annoying issue, but really easy to fix.

      Thanks !

      Attachments

        Activity

          People

            olamy Olivier Lamy
            iguimiot Guimiot Isabelle
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: