Thanks Gareth. :) On Nov 12, 12:42 pm, Gareth McCumskey <[email protected]> wrote: > This is expected behavour. url_for looks for the suffix http:// to know if > its an external link or not. > > > > > > > > > > On Thu, Nov 11, 2010 at 2:39 PM, deepak <[email protected]> wrote: > > Hi > > > There is a column in my table which stores external urls e.g. > > "www.amazon.com". > > > Now when I try to use link_to('Product', $Obj->getUrl()). It outputs > > <a href="http://www.myappbaseurl.com/www.amazon.com">Product</a> > > > Infact symfony takes all the url as internal uri. > > > Is there a way in symfony thru which I can assign external url to > > links such as <a href="www.amazon.com">Product</a> ? > > > Now if there is a http:// added in the url it considers it as external > > url and redirects properly. > > > Let me know if I make any sense here. > > > Thanks > > Deepak > > > -- > > If you want to report a vulnerability issue on symfony, please send it to > > security at symfony-project.com > > > You received this message because you are subscribed to the Google > > Groups "symfony users" group. > > To post to this group, send email to [email protected] > > To unsubscribe from this group, send email to > > [email protected]<symfony-users%2bunsubscr...@goog > > legroups.com> > > For more options, visit this group at > >http://groups.google.com/group/symfony-users?hl=en > > -- > Gareth McCumskeyhttp://garethmccumskey.blogspot.com > twitter: @garethmcc
-- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en
