mirror of
https://github.com/discourse/discourse.git
synced 2025-02-13 23:04:56 +00:00
Inserted if (url.indexOf(u) != -1) return url; in getURL function because of bug in subdirectory install on some urls doubles relative url prefix, for example /forum/forum/latest.json. With this fix it works fine.