Zend Framework: validation of hostname -


i check hostname. for exapmle: www.site.ru, site.ru, http://site.ru.

these variants correct. but: http://site.ru/ zf sets not correct.

how check hostname shown above via hostname validator?

www.site.ru, site.ru domains while http://www.site.ru uri need manually strip protocol/scheme part, way site.ru/folder/ correct uri correct hostname. wrote filter zend framework, allow prepend http:// hostname. maybe helps


Comments

Popular posts from this blog

mod rewrite - Doing external redirect. .htaccess NS flag not working. How to achieve similar results? -

mysql - How to insert just year and month into date field? -