Currently, reposearch URLs that point to a file look ugly wrt symbol encoding (such as slashes):

http://codefinder.org/viewFile/indexWiki/https%3A%5Es%5Esgithub.com%5Esxwiki%5Esxwiki-platform%5Esblob%5Esmaster%5Esxwiki-platform-core%5Esxwiki-platform-search%5Esxwiki-platform-search-lucene%5Esxwiki-platform-lucene-api%5Essrc%5Esmain%5Esjava%5Escom%5Esxpn%5Esxwiki%5Esplugin%5Eslucene%5Esinternal%5EsIndexRebuilder.java/XWiki+platform/Java+Method+Decl#289

The file location URL is used as identifier for a file within reposearch, which gets encoded this way. While keeping support for this style of URLs for compatibility (probably by redirecting to a new style of URL), we could change the encoding.

I think it is important to preserve the location information, possibly shrinking it in some way that guarantees uniqueness leading to more suitable urls for sharing. Important is to get rid of the symbol encoding.

eg

http://codefinder.org/viewFile/indexWiki/xwiki+xwiki-platform+blob+master+xwiki-platform-core+xwiki-platform-search+xwiki-platform-search-lucene+xwiki-platform-lucene-api+src+main+java+com+xpn+xwiki+plugin+lucene+internal+IndexRebuilder.java/XWiki+platform/Java+Method+Decl#289
Submitted by Elmer van Chastelet on 11 July 2013 at 12:34

Log in to post comments