This project is archived and is in readonly mode.

#5160 ✓resolved
valodzka

[Patch] Ignore asset host for relative uri with host

Reported by valodzka | July 20th, 2010 @ 03:14 PM

According to URI rfc this is relative uri with host but without scheme:

//example.com/test

Currently rails handles such uri incorrectly when assets host set. It adds asset host to such urls, and that is incorrect,

This commit (in attach) fixes problem.

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

Pages