WIKI-367: Can not attach file when add link for wiki page