seancorfield/fw1 — Issue #118: buildURL("") no longer points to home
Author: seancorfield
Created: 2012-01-14 21:14:28+00:00
State: open

Seb Duggan reported:

I've just updated a site from 2.0_RC1 to 2.0, and noticed an odd change:

Previously, if I wrote:

#buildUrl('')#

it would link to the home page. But now it links to the current page - like .

Is this an intentional change? I don't remember seeing it mentioned anywhere...

My response:

Looks like an unintentional side-effect of this change, post RC1:

https://github.com/seancorfield/fw1/commit/5921b0a08b84a74517a05c26da89031626ada7f9

Lines 66 and 67 should use a magic "omitted" string to differentiate between an explicit "" URL and an omitted string.