Skip to content

Commit

Permalink
slash problem
Browse files Browse the repository at this point in the history
  • Loading branch information
Mgiepz committed Mar 20, 2013
1 parent 4557d6f commit 017afc3
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -89,7 +89,8 @@ public MetadataModel getModel(
log.debug("REST:GET " + " getModel domainId=" + domainId + " modelId=" + modelId);
}

return metadataProvider.loadModel(URLDecoder.decode(domainId,"UTF-8"),modelId);
String strippedDomainId = URLDecoder.decode(domainId,"UTF-8");
return metadataProvider.loadModel(strippedDomainId + "/metadata.xmi",modelId);
} catch (UnsupportedEncodingException e) {
// TODO Auto-generated catch block
e.printStackTrace();
Expand Down

0 comments on commit 017afc3

Please sign in to comment.