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 about 1 year ago. Updated about 1 year 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 #1

Updated by Go MAEDA about 1 year ago

  • Target version set to 5.1.0
Actions #2

Updated by Go MAEDA about 1 year ago

  • Target version changed from 5.1.0 to 6.0.0
Actions #3

Updated by Go MAEDA about 1 year ago

  • Tracker changed from Patch to Feature
  • Assignee set to Go MAEDA
  • Resolution set to Fixed

Committed the patch in r22414. Thank you.

Actions #4

Updated by Go MAEDA about 1 year ago

  • Status changed from New to Closed
Actions

Also available in: Atom PDF