Skip to content

Commit a072d94

Browse files
author
Oleg Omelchenko
committed
incorrect work with non latin letters in torrent file or folder name
tdjsnelling#39
1 parent b224e4c commit a072d94

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

api/src/controllers/torrent.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ import crypto from "crypto";
33
import mongoose from "mongoose";
44
import { createNGrams, nGrams } from "mongoose-fuzzy-searching/helpers";
55
import slugify from "slugify";
6+
import contentDisposition from "content-disposition";
67
import Torrent from "../schema/torrent";
78
import User from "../schema/user";
89
import Comment from "../schema/comment";
910
import Group from "../schema/group";
1011
import { createGroup, addToGroup, removeFromGroup } from "./group";
11-
import contentDisposition from "content-disposition";
1212

1313
const urlReservedCharRegex = /[&$+,/:;=?@#<>\[\]{}|\\\^%]/g;
1414

0 commit comments

Comments
 (0)