Re: [PATCH] gitweb: use action dispatcher for non-project actions, too.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Martin Waitz <tali@xxxxxxxxxxxxxx> writes:

> Allow to use the global action dispatcher for all actions by introducing
> "/actions".  If no project directory is given then a / is prepended to the
> action and the normal dispatcher is called.
> Project list and OPML generation are now hooked into the list as "/summary"
> and "/opml".
>
> As "/" is not an allowed character in actions accepted through the CGI
> parameters, it is still ensured that no normal action can be called without
> giving a valid project directory.
>
> Signed-off-by: Martin Waitz <tali@xxxxxxxxxxxxxx>
> ---
>  gitweb/gitweb.perl |   17 ++++++++---------
>  1 files changed, 8 insertions(+), 9 deletions(-)

You completely lost me.  What are you trying to achieve here?

I suspect this kind of funkies (and PATH_INFO) might be easier
to do in mod_rewrite() outside gitweb, but that is probably just
me.

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]