Template: URL function is prefixing spaces #118

Closed
opened 2018-01-15 04:44:40 +00:00 by jamie · 6 comments
jamie commented 2018-01-15 04:44:40 +00:00 (Migrated from git.hazaar.io)

We are supposed to be ignoring spaces around the function params.

<a href="{url portal}">click here</a>

The URL for this will be http://localhost/public/ portal which is obviously wrong.

We are supposed to be ignoring spaces around the function params. ```html <a href="{url portal}">click here</a> ``` The URL for this will be ```http://localhost/public/ portal``` which is obviously wrong.
jamie commented 2018-01-15 04:44:44 +00:00 (Migrated from git.hazaar.io)
created branch [`118-template-url-function-is-prefixing-spaces`](https://git.hazaarlabs.com/hazaar/hazaar-mvc/compare/master...118-template-url-function-is-prefixing-spaces)
jamie commented 2018-01-15 04:44:45 +00:00 (Migrated from git.hazaar.io)

mentioned in merge request !34

mentioned in merge request !34
jamie commented 2018-01-15 05:12:40 +00:00 (Migrated from git.hazaar.io)

Ok, so this appears to be an encoding issue. The template editor I'm using is putting the %20 encoded space in and the template is not stripping it out.

Ok, so this appears to be an encoding issue. The template editor I'm using is putting the %20 encoded space in and the template is not stripping it out.
jamie commented 2018-01-15 05:15:27 +00:00 (Migrated from git.hazaar.io)

closed via commit 624580529a

closed via commit 624580529aab1947764b39516fea920bab257237
jamie commented 2018-01-15 05:15:27 +00:00 (Migrated from git.hazaar.io)

closed via merge request !34

closed via merge request !34
jamie commented 2018-06-29 02:24:28 +00:00 (Migrated from git.hazaar.io)

changed milestone to %4

changed milestone to %4
jamie self-assigned this 2025-09-04 01:15:46 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: hazaar/framework#118
No description provided.