public void setFileSize(long fileSize) {
this.fileSize = fileSize;
}
public String getFileURL() {
try {
<BUG>return podcastService.getPodcastFileURL(resourceId);

}</BUG>
catch (PermissionException e) {
LOG.info("PermissionException getting file URL for "

public void setFileSize(long fileSize) {
this.fileSize = fileSize;
}
public String getFileURL() {
try {
String fullUrl = podcastService.getPodcastFileURL(resourceId);
String filenameEscaped = Validator.escapeUrl(filename);
return fullUrl.substring(0, fullUrl.lastIndexOf(Entity.SEPARATOR) + 1) + filenameEscaped;
}
catch (PermissionException e) {
LOG.info("PermissionException getting file URL for "
