violet_rails icon indicating copy to clipboard operation
violet_rails copied to clipboard

'public' prefixed in asset urls for root domain

Open Pralish opened this issue 2 years ago • 0 comments
trafficstars

Describe the bug asset urls are prefixed with 'public'. Causes assets to not loaded in safari if ssl certificates are invalid or not setup properly.

To Reproduce Steps to reproduce the behavior:

  1. Attach a image in forum thread of a root domain
  2. Refresh the page
  3. Inspect the image element
  4. See 'public' being prefixed to the asset url

Expected behavior host for assets url should be same as url in the browser's address bar

Screenshots Screen_Shot_2023-03-27_at_5 54 17_PM

Screenshot_2023-03-28_at_5 33 46_AM

Screenshot_2023-03-28_at_5 36 32_AM

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context Same thing happens to user invitation links.

Screenshot_2023-03-28_at_5 42 27_AM

Pralish avatar Apr 18 '23 11:04 Pralish