Skip to content

Commit

Permalink
109964: Always encode the vocabulary stored value
Browse files Browse the repository at this point in the history
Not encoding this value broke stored values containing trailing slashes and some special characters
  • Loading branch information
alexandrevryghem committed Dec 14, 2023
1 parent 9fc7b57 commit 7915202
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/core/submission/vocabularies/vocabulary.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ export class VocabularyService {
getVocabularyEntriesByValue(value: string, exact: boolean, vocabularyOptions: VocabularyOptions, pageInfo: PageInfo): Observable<RemoteData<PaginatedList<VocabularyEntry>>> {
const options: VocabularyFindOptions = new VocabularyFindOptions(
null,
value,
encodeURIComponent(value),
exact,
null,
pageInfo.elementsPerPage,
Expand Down

0 comments on commit 7915202

Please sign in to comment.