-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
No error message when trying to migrate repository with incorrect name #6254
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
And here is the log entry from my 1.7.3 instance:
|
This issue has been raised before, however as I can't find the issue I am going to leave this open. |
The issue with the same problem is #3799 The problem is these lines: Line 142 in ad86b84
Line 265 in ad86b84
More specifically the second one. When the error is "sanitized" it is no longer an gitea/modules/util/sanitize.go Lines 22 to 26 in ad86b84
I will try to get a PR in for this, and I'll probably add #6253 to it as well since they are for the same process and shouldn't be very big. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions. |
This issue has been automatically closed because of inactivity. You can re-open it if needed. |
Just a note, this issue was actually fixed by #6290 |
When providing following incorrect values as target repository name used in migration, gitea returns 500 HTTP response code, and no proper error message is displayed.
wrong.git
..
Gitea version (or commit ref): ad86b84
Git version: not relevant
Operating system: not relevant
Database (use
[x]
): not relevantCan you reproduce the bug at https://try.gitea.io:
Log gist:
Description
...
Screenshots
The text was updated successfully, but these errors were encountered: