You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@archiva.apache.org by "Guimiot Isabelle (JIRA)" <ji...@codehaus.org> on 2013/11/19 17:12:45 UTC

[jira] (MRM-1793) trailing spaces not trimmed in upload form

Guimiot Isabelle created MRM-1793:
-------------------------------------

             Summary: trailing spaces not trimmed in upload form
                 Key: MRM-1793
                 URL: https://jira.codehaus.org/browse/MRM-1793
             Project: Archiva
          Issue Type: Bug
          Components: Web Interface
    Affects Versions: 1.4-M4
         Environment: Linux, Firefox 17
            Reporter: Guimiot Isabelle


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 !

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira