Hi,

I am having problems with the routing because of the dots in my URL
say /interface/ge-0_0_0.0/ where I need the .0 to be part of the
route.

I see that in Symfony/Component/Routing/Route.php there is a way to
change the segement_separators but how would I do this in my
application?

    92      /**
    93       * Sets the options.
    94       *
    95       * This method implements a fluent interface.
    96       *
    97       * @param array $options The options
    98       *
    99       * @return Route The current Route instance
   100       */
   101      public function setOptions(array $options)
   102      {
   103          $this->options = array_merge(array(
   104              'segment_separators' => array('/', '.'),
   105              'text_regex'         => '.+?',
   106              'compiler_class'     => 'Symfony\\Component\
\Routing\\RouteCompiler',
   107          ), $options);
   108
   109          return $this;
   110      }

-- 
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 symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to