Although not always possible or desirable, you can also get around this problem by creating urls with ?. For example somedomain.com/profiles/[EMAIL PROTECTED] 2008/12/3 Sid Bachtiar <[EMAIL PROTECTED]>
> > Hi, > > I've had problem with this too. I don't know any general solution to > this problem. > > For my case, I needed the dot because I was passing email address in > the URL. So I solved it by adding one line (the line with @) in the > web/,htaccess > > # we skip all files with .something > RewriteCond %{REQUEST_URI} \..+$ > RewriteCond %{REQUEST_URI} [EMAIL PROTECTED] > RewriteCond %{REQUEST_URI} !\.html$ > RewriteRule .* - [L] > > The one added line in the htaccess basically detect if the URL > contains @ character, if so it will be passed to the controller > instead of handled as a file like images, css, js, etc. > > On Thu, Dec 4, 2008 at 12:25 AM, Sumedh <[EMAIL PROTECTED]> wrote: > > > > Hi Friends, > > > > How is one supposed to handle a URL having a dot ('.')? > > > > For example, http://www.example.com/string.with.dots/file.html > > > > The urlencode() function from PHP doesn't handle dots...and the > > routing rules break for these kind of URL's... > > > > So, how should they be taken care of? Is there some standardized way > > that everyone uses? > > > > - Thanks in advance, > > Sumedh > > > > > > > > > -- > Visit my website: http://onlinesid.com > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---