ensure link to add new ssh key is working (disable encoding of @ char)
+ 9
- 3
app/views/user/UserDetailsView.tsx
@@ -65,9 +65,15 @@ const UserDetailsView: ReactView<UserDetailsViewProps> = ({
               <h2 style={{ marginBottom: 16 }}>Your SSH key</h2>
               <ButtonAnchor
                 style={{ fontSize: 16, minHeight: 40, padding: "0 16px" }}
-                href={buildRouteLink(AppRoute.USER_SSH_KEY_ADD, {
-                  username: currentUser.username,
-                })}
+                href={buildRouteLink(
+                  AppRoute.USER_SSH_KEY_ADD,
+                  {
+                    username: currentUser.username,
+                  },
+                  {
+                    encodeURIComponent: false,
+                  }
+                )}
               >
                 Add
               </ButtonAnchor>