Should Base->alias return route prefixed with BASE?

29 views
Skip to first unread message

HwapX

unread,
May 3, 2018, 10:16:16 PM5/3/18
to Fat-Free Framework
My question is because when using a named route in Base->reroute the result is the absolute address with URI prefixed by BASE.

ikkez

unread,
May 4, 2018, 3:31:40 AM5/4/18
to Fat-Free Framework
I think it should not. The reroute feature needs to be absolute to work properly with older browsers / protocols, but the alias function isn't only used for the reroute purpose. And depending on how you build your system and frontend, it can get in your way when adding the BASE to it by default.

HwapX

unread,
May 11, 2018, 11:54:06 AM5/11/18
to Fat-Free Framework
I understand, it's that I was not expecting this, anyway i can create a helper function to do this.
Reply all
Reply to author
Forward
0 new messages