Skip to content

Commit

Permalink
SAK-21259
Browse files Browse the repository at this point in the history
git-svn-id: https://source.sakaiproject.org/svn/sections/trunk@99001 66ffb92e-73f9-0310-93c1-f5514f145a0a
  • Loading branch information
darolmar committed Oct 5, 2011
1 parent f3dfade commit 0611f2c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -393,6 +393,6 @@ private String getSectionTutorsAsString(String section) {

protected String getDownloadFileName(String rawString) {
String dateString = DateFormat.getDateInstance(DateFormat.SHORT).format(new Date());
return rawString.replaceAll("\\W","_")+ "_"+dateString;
return (rawString + "_" + dateString).replaceAll("[\\W&&[^\\u0080-\\uffff]]", "_");
}
}

0 comments on commit 0611f2c

Please sign in to comment.