tanakahisateru / pinoco

Web site development framework using PHP and (mainly) PHPTAL
http://tanakahisateru.github.io/pinoco/
Other
43 stars 10 forks source link

Always renderable passed as true to url modifier #39

Closed tanakahisateru closed 13 years ago

tanakahisateru commented 13 years ago

When using mod_rewrite(most regular case), $renderable flag has never be false in url_modifier user callback.

I wanted to convert url given as resource path to fully qualified URL (including: protocol and host name). At that time, I want to apply my filter to only page-jump link to go to renderable contents. But all http references were replaced as full URL. This is the 1st use case of url_modifier feature in my real work :)