I have mp3 catalog portal and I want to customize my urls. I used url for downloading songs - /download/song/:song_id But now I want url to look like /download/song:song_id - symfony doesn't recognize this pattern, :song_id parameter substitutes in url as is, so I get /download/song:song_id instead of f.e. /download/song14
                +1 
                A: 
                
                
              Solved via adding empty separator_segment: options: { segment_separators: [/, ., -, ''] }
                  YS-PRO
                   2010-03-09 13:38:26
                
              As in, an empty string? How does that hit performance?
                  Raise
                   2010-03-09 13:43:14
                It works great. I'm not sure about hit performance
                  YS-PRO
                   2010-03-09 15:26:29
                probably you have to mark this answer as answer ;)
                  develop7
                   2010-03-09 19:01:44
                I can accept my own answer tomorrow )
                  YS-PRO
                   2010-03-10 08:01:32