Project

General

Profile

Actions

Feature #39238

closed

Redirect to repositories#show after repositories#fetch_changesets to avoid the user-visible browser URL

Added by Holger Just 7 months ago. Updated 6 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
SCM
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed

Description

When POST'ing to repositories#fetch_changesets, we fetch changesets and then just render the show page This retains the URL of the fetch_changesets action in the browser bar, e.g.

https://redmine.example.com/projects/test/repository/demo/fetch_changesets

Furthermore, the rendered page is the result of a POST and is thus not easily reloaded. Thus, I propose that instead of directly showing the repository again, we issue a redirect to the repository's show page. That way, the fetch_changesets URL is not visible ion the browser's address bar and the page can be easily reloaded.

This is implemented in the attached patch.


Files

Actions

Also available in: Atom PDF