Skip to content

Commit d39eda0

Browse files
committed
chore: drop the tracker reference from the Content-Disposition deviation comments
1 parent d2728c7 commit d39eda0

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

dspace-server-webapp/src/main/java/org/dspace/app/rest/BitstreamByHandleRestController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ private String createFallbackAsciiName(String originalFilename) {
306306
String normalized = Normalizer.normalize(originalFilename, Normalizer.Form.NFD);
307307
String withoutAccents = normalized.replaceAll("\\p{InCombiningDiacriticalMarks}+", "");
308308
// Deviates from vanilla by escaping \ and ": the value is a quoted-string, and a name
309-
// containing a quote closes it early. That is the bug #1267 fixed; vanilla still has it.
309+
// containing a quote closes it early. Vanilla still has that bug.
310310
return withoutAccents.replaceAll("[^\\x00-\\x7F]", "")
311311
.replace("\\", "\\\\")
312312
.replace("\"", "\\\"");

dspace-server-webapp/src/main/java/org/dspace/app/rest/MetadataBitstreamController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ private String createFallbackAsciiName(String originalFilename) {
172172
String normalized = Normalizer.normalize(originalFilename, Normalizer.Form.NFD);
173173
String withoutAccents = normalized.replaceAll("\\p{InCombiningDiacriticalMarks}+", "");
174174
// Deviates from vanilla by escaping \ and ": the value is a quoted-string, and an item name
175-
// containing a quote closes it early. That is the bug #1267 fixed; vanilla still has it.
175+
// containing a quote closes it early. Vanilla still has that bug.
176176
return withoutAccents.replaceAll("[^\\x00-\\x7F]", "")
177177
.replace("\\", "\\\\")
178178
.replace("\"", "\\\"");

0 commit comments

Comments
 (0)