web: remove manually URL encoded paths
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
		| @ -222,7 +222,9 @@ export class UserInterface extends LitElement { | ||||
|                                             <div class="pf-c-page__header-tools-group"> | ||||
|                                                 <a | ||||
|                                                     class="pf-c-button pf-m-warning pf-m-small" | ||||
|                                                     href=${`/-/impersonation/end/?back=${window.location.pathname}%23${window.location.hash}`} | ||||
|                                                     href=${`/-/impersonation/end/?back=${encodeURIComponent( | ||||
|                                                         `${window.location.pathname}#${window.location.hash}`, | ||||
|                                                     )}`} | ||||
|                                                 > | ||||
|                                                     ${t`Stop impersonation`} | ||||
|                                                 </a> | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Jens Langhammer
					Jens Langhammer