*
* @return the URI to used to service the original request (could be
* the same)
*/
public String getUri(String uri, Blog blog) {
PermalinkProvider permalinkProvider = blog.getPermalinkProvider();
DefaultPermalinkProvider defaultPermalinkProvider = new DefaultPermalinkProvider();
defaultPermalinkProvider.setBlog(permalinkProvider.getBlog());
log.trace("URI before transformation : " + uri);
if (uri == null || uri.trim().equals("")) {
uri = "/";