magento2 icon indicating copy to clipboard operation
magento2 copied to clipboard

[2.1.0] underscore in site url breaks admin redirect - The page isn't redirecting properly

Open tecjam opened this issue 10 years ago • 6 comments

Preconditions

My test system:

`Debian GNU/Linux 8 (jessie)

Server version: Apache/2.4.10 (Debian)
Server built:   Nov 28 2015 14:05:48

PHP 5.6.22-0+deb8u1

mySQL  5.6.30`

Steps to reproduce

Create a local url local.magento2_test in /etc/hosts:

127.0.0.1 local.magento2_test

and create a /etc/apache2/sites-available/magento2_test.conf with the following contents:

`<VirtualHost *:80>
  ServerName local.magento2_test
  DocumentRoot /home/dev/www/web/

  <Directory /home/dev/www/web/>
    Require all granted
    Options -Indexes +FollowSymlinks
    AllowOverride all
  </Directory>`

  php_value always_populate_raw_post_data -1
  php_value upload_max_filesize 100M
  php_value post_max_size 100M
</VirtualHost>

Enable the site with sudo a2ensite magento2_test.conf and restart apache2 sudo service apache2 restart.

Now go to your web root directory cd /home/dev/www/web/ and install magento2 using composer:

composer create-project --repository-url=https://repo.magento.com/ magento/project-community-edition .

After installation call the url in your browser http://local.magento2_test and go through the installation (I called the admin url simply http://local.magento2_test/admin without ssl).

After the install completes, the frontend of the site works without a problem. However, if you try and go to your backend http://local.magento2_test/admin you will receive a The page isn't redirecting properly - tried in Firefox and Chrome.

Expected result

  1. The admin login page should load normally

Actual result

The page isn't redirecting properly - tried in Firefox and Chrome.

My test system:

`Debian GNU/Linux 8 (jessie)

Server version: Apache/2.4.10 (Debian)
Server built:   Nov 28 2015 14:05:48

PHP 5.6.22-0+deb8u1

mySQL  5.6.30`

tecjam avatar Jul 26 '16 08:07 tecjam

Internal jira ticket- MAGETWO-56317 has been created for this issue.

dthampy avatar Aug 03 '16 04:08 dthampy

@dthampy has there been any progress on this bug?

jfarrell avatar Oct 04 '16 18:10 jfarrell

No, I have been working on this problem for a week, cannot seem to figure it out...

On 10/4/2016 2:18 PM, jfarrell wrote:

@dthampy https://github.com/dthampy has there been any progress on this bug?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/magento/magento2/issues/5809#issuecomment-251469572, or mute the thread https://github.com/notifications/unsubscribe-auth/AVks_9sVfRAKN_H72G_TmSU_xfcKMLojks5qwphugaJpZM4JU7S2.

*Charles Wagner 631.618.7490 x102 www.SilverLaboratories.com *

Oxidation1 avatar Oct 04 '16 18:10 Oxidation1

@jfarrell , this issue is in the backlog and will be picked up in the priority order set by the Product Owners.

dthampy avatar Oct 04 '16 18:10 dthampy

This issue was closed in develop branch.

Closed.

veloraven avatar Jun 20 '17 10:06 veloraven

Hi @veloraven, are there any plans to backport the fix to 2.1.x branch?

korostii avatar Jun 20 '17 11:06 korostii