mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-10 19:43:04 +00:00
99053: Fixed encoded parameters being encoded twice in WorkflowItemActionPageComponent.previousPage()
This commit is contained in:
@@ -78,7 +78,7 @@ export abstract class WorkflowItemActionPageComponent implements OnInit {
|
|||||||
const params: Params = {};
|
const params: Params = {};
|
||||||
if (url.split('?').length > 1) {
|
if (url.split('?').length > 1) {
|
||||||
for (const param of url.split('?')[1].split('&')) {
|
for (const param of url.split('?')[1].split('&')) {
|
||||||
params[param.split('=')[0]] = param.split('=')[1];
|
params[param.split('=')[0]] = decodeURIComponent(param.split('=')[1]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
void this.router.navigate([url.split('?')[0]], { queryParams: params });
|
void this.router.navigate([url.split('?')[0]], { queryParams: params });
|
||||||
|
Reference in New Issue
Block a user