Skip to content
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

Web base urls configuration fields filtered #16152

Closed
Axel29 opened this issue Jun 15, 2018 · 2 comments
Closed

Web base urls configuration fields filtered #16152

Axel29 opened this issue Jun 15, 2018 · 2 comments
Labels
Issue: Format is valid Gate 1 Passed. Automatic verification of issue format passed

Comments

@Axel29
Copy link

Axel29 commented Jun 15, 2018

Preconditions

  1. Magento: 2.2.3
  2. PHP: 7

Steps to reproduce

  1. Set up Magento with pub folder as webroot
  2. Set base URLs manually in configuration (Store > Configuration > General > Web) using placeholders (e.g: {{unsecure_base_url}}media/ for configuration path web/unsecure/base_media_url)
  3. Save configuration

Expected result

  1. The configuration should be saved in database with the value entered
  2. The page should reload with the value entered displayed

image

Actual result

  1. The value is correctly set in database

image

  1. The value displayed is filtered, displaying the website's unsecure / secure base URL instead of placeholders

image

This bugs is critical as if the Magento is a multi-website's instance that have several domain / subdomains, if the configuration is saved again, since the value is filtered, the placeholder will disappear from database and the full website's URL will be used in database too, causing the other websites to be broken.

@magento-engcom-team magento-engcom-team added the Issue: Format is valid Gate 1 Passed. Automatic verification of issue format passed label Jun 15, 2018
@hostep
Copy link
Contributor

hostep commented Jun 15, 2018

@Axel29: thanks! Good to see other people are running into this problem as well.

I'm going to close this though, as it's a duplicate of #15972

@hostep hostep closed this as completed Jun 15, 2018
@Axel29
Copy link
Author

Axel29 commented Jun 15, 2018

Hi @hotstep, thank you for your feedback, I didn't find your issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue: Format is valid Gate 1 Passed. Automatic verification of issue format passed
Projects
None yet
Development

No branches or pull requests

3 participants