Skip to content

Commit 63f22bc

Browse files
committed
stop encoding files too much
1 parent 2ca5341 commit 63f22bc

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

app/services/meta-store.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export default class MetaStoreService extends Service {
2222
}
2323

2424
getRevId(project, version, type, id) {
25-
let encodedId = encodeURIComponent(id);
25+
let encodedId = id;
2626
return this.projectRevMap[`${project}-${version}`][type][encodedId];
2727
}
2828

prember-urls.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,8 @@ module.exports = function () {
8686
);
8787

8888
if (entity === 'modules') {
89-
// id is
89+
const moduleKey = id;
9090

91-
const moduleKey = `${encodeURIComponent(id)}`;
9291
const fileName = revIndex.meta.module[moduleKey];
9392

9493
if (fileName === undefined) {

0 commit comments

Comments
 (0)