Yeah but my placeholder is at the end of the url not followed by something else.
It's the fact that the placeholder is at the end that mojo wants to make the 'format' be anything after the dot because its automatically detected and stored in the stash value 'format', and I don't want that.
> On Thu, Jul 5, 2012 at 12:12 PM, Tom Sante <
tom....@gmail.com (mailto:
tom....@gmail.com)> wrote:
> > Dear,
> >
> > In my router I am trying to match a uid contained in my url like this:
> >
> > /post/:uid
> >
> > but if the ':uid' part contains a dot it isn't captured in the uid parameter but set as 'format'
> > Is there a way I can force it to ignore format matching and have ':uid' capture everything including dots?
> >
> > So if a url is this:
> >
> > /post/abcdef.ghe1
> > => I want :uid = 'abcdef.ghe1'
> > => but instead I now get :uid = 'abcdef' and format ='ghe1'
> >
> > I could just concatenate uid and format with a dot in between but was hoping to avoid a workaround like that.
> >
> > Thanks,
> >
> > Tom
> >
> >
> > --
> > You received this message because you are subscribed to the Google Groups "Mojolicious" group.
> > To post to this group, send email to
mojol...@googlegroups.com (mailto:
mojol...@googlegroups.com).
> > To unsubscribe from this group, send email to
mojolicious...@googlegroups.com (mailto:
mojolicious...@googlegroups.com).
> --
> You received this message because you are subscribed to the Google Groups "Mojolicious" group.
> To post to this group, send email to
mojol...@googlegroups.com (mailto:
mojol...@googlegroups.com).
> To unsubscribe from this group, send email to
mojolicious...@googlegroups.com (mailto:
mojolicious...@googlegroups.com).