Skip to content

Commit

Permalink
adjusting rewrite logic
Browse files Browse the repository at this point in the history
  • Loading branch information
gabe-lyons committed Jun 2, 2021
1 parent 4162b03 commit b296634
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion datahub-web-react/src/app/entity/shared/utils.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
export function urlEncodeUrn(urn: string) {
return urn && urn.replace(/\//g, '%2F').replace(/\?/g, '%3F').replace(/%/g, '%25').replace(/#/g, '%23');
return urn && urn.replace(/%/g, '%25').replace(/\//g, '%2F').replace(/\?/g, '%3F').replace(/#/g, '%23');
}

0 comments on commit b296634

Please sign in to comment.