? ? Failure

User tests: Successful: Unsuccessful:

avatar podlom
podlom
24 Jun 2015

This simple patch allows user to create redirect rules based on local URIs.
It is very useful then you migrate from one domain to another.

avatar podlom podlom - open - 24 Jun 2015
avatar podlom podlom - change - 24 Jun 2015
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 24 Jun 2015
Labels Added: ?
avatar brianteeman
brianteeman - comment - 24 Jun 2015

Please provide a full set of instructions to enable people to test this. This should include the behaviour before and after the patch

avatar brianteeman brianteeman - change - 24 Jun 2015
Labels Added: ?
avatar podlom
podlom - comment - 24 Jun 2015

Test instructions:

  1. Behavior before patch: local URI redirects without domain name starting with / does not work.
  2. Behavior after patch: local URI redirects without domain name starting with / does work.
avatar Kubik-Rubik Kubik-Rubik - close - 24 Jun 2015
avatar Kubik-Rubik
Kubik-Rubik - comment - 24 Jun 2015

@podlom Thank you for your contribution. This additional check is already implemented (starting from line 88 // If no published redirect was found try with the server-relative URL), so your proposal is redundant and not required. I will close this PR, feel free to comment on it and request a reopening.

A more interesting change would be that the plugin saves the URLs relatively, this would make the domain changing process easier!

avatar Kubik-Rubik Kubik-Rubik - change - 24 Jun 2015
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2015-06-24 10:16:44
Closed_By Kubik-Rubik
avatar Kubik-Rubik Kubik-Rubik - close - 24 Jun 2015
avatar podlom
podlom - comment - 24 Jun 2015

Thank you, @Kubik-Rubik
I think we shouldn't change anything in user input.
If he wants to save full URL - it should be done.
If he wants to save relative URI it should work as well as full URL.

avatar Kubik-Rubik
Kubik-Rubik - comment - 24 Jun 2015

@podlom I didn't mean the user input but the automatic saving process by the plugin. :-)

Add a Comment

Login with GitHub to post a comment