Skip to content

πŸ™Œ OpenHands: AI-Driven Development

fix: url repo encode (#8713)

Marco Dalalba342563d11325
diff --git a/frontend/src/components/features/home/repo-selection-form.tsx b/frontend/src/components/features/home/repo-selection-form.tsx
index cce9b14b07..03f24c95ad 100644
--- a/frontend/src/components/features/home/repo-selection-form.tsx
+++ b/frontend/src/components/features/home/repo-selection-form.tsx
@@ -84,7 +84,7 @@ export function RepositorySelectionForm({
const allRepositories = repositories?.concat(searchedRepos || []);
const repositoriesItems = allRepositories?.map((repo) => ({
key: repo.id,
- label: repo.full_name,
+ label: decodeURIComponent(repo.full_name),
}));
const branchesItems = branches?.map((branch) => ({
diff --git a/frontend/src/components/features/home/tasks/task-suggestions.tsx b/frontend/src/components/features/home/tasks/task-suggestions.tsx
index 57af886272..8557bc238a 100644
--- a/frontend/src/components/features/home/tasks/task-suggestions.tsx
+++ b/frontend/src/components/features/home/tasks/task-suggestions.tsx
@@ -28,7 +28,7 @@ export function TaskSuggestions({ filterFor }: TaskSuggestionsProps) {
{suggestedTasks?.map((taskGroup, index) => (
<TaskGroup
key={index}
- title={taskGroup.title}
+ title={decodeURIComponent(taskGroup.title)}
tasks={taskGroup.tasks}
/>
))}