Works great!

Thanks again.

On Feb 22, 7:35 am, mdipierro <[email protected]> wrote:
> They should all work now. Sorry my first quick fix did not do the job.
> I tested the new one (in launchpad) and it does the job.
>
> Massimo
>
> On Feb 22, 8:48 am, Jim <[email protected]> wrote:
>
> > I've copied the files from launchpad newer than 1.56.3 down to my
> > system (linux), then restarted web2py.  That might not be the right
> > approach to updating.
>
> > I still have the same pattern:
>
> > /function     works
> > /function/    works
> > /function/page#  works  (equivalent of "all categories")
> > /function/page#/ Invalid request
> > /function/category works
> > /function/category/ Invalid request
> > /function/category/page# works
> > /function/category/page#/ Invalid request
>
> > If the trailing slash works, then it presents the problem that you
> > have to standardize on having it or not.   There are plugins for
> > Wordpress, for example, which use .htaccess to set the trailing slash
> > on or off
>
> > I don't care that much if it works or not.   What I really care about
> > is that if it doesn't work today that it doesn't work ever.   It's not
> > much fun finding that inbound links and Google used them
> > interchangeably and you now have a mess of 301 redirects to maintain.
>
> > Thanks!
>
> > On Feb 21, 2:15 pm, mdipierro <[email protected]> wrote:
>
> > > fixed on launchpad. Could you please give it a try?
>
> > > Massimo
>
> > > On Feb 21, 3:36 pm, Jim <[email protected]> wrote:
>
> > > > As a PS, I'm not sure if it makes any difference but "/newest-
> > > > messages/" is a function and the different "category" examples were
> > > > arguments.  So /app/controller/newest-messages/
>
> > > > Thanks so much for the quick response.
>
> > > > On Feb 21, 1:05 pm, mdipierro <[email protected]> wrote:
>
> > > > > this is a web2py issue. it will be fixed immediately. thanks for
> > > > > reporting it.
>
> > > > > On Feb 21, 1:51 pm, Jim <[email protected]> wrote:
>
> > > > > > I'm trying to do this:
>
> > > > > > /newest-messages/
>
> > > > > > and that works fine.
>
> > > > > > /newest-messages/category
>
> > > > > > works fine
>
> > > > > > /newest-messages/category/0
> > > > > > /newest-messages/category/1
> > > > > > /newest-messages/category/2
> > > > > > ...
>
> > > > > > works fine
>
> > > > > > but
>
> > > > > > /newest-messages/category/
>
> > > > > > bombs with an http error of "Invalid Request"
>
> > > > > > I'm probably over-analyzing this but it seems like I'm treating the
> > > > > > category as a directory and it should have a trailing slash.
>
> > > > > > I've looked at the manual and this group and I'm still not sure if
> > > > > > this is a CherryPi or web2py situation.
>
> > > > > > Thanks for any help.
>
> > > > > > Jim
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" 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/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to