[cvsnt] Re: [cvsweb_nt] spaces in user name

Thierry B. thierry.bo at XXXnetcourrier.com
Thu Jul 10 17:59:58 BST 2003


Again (;-))

\v not supported in perl (notice in apache error.log), so use ([^\t\n\r\f]+)
instead of ([^\t\n\r\f\v]+).

"Thierry B." <thierry.bo at XXXnetcourrier.com> a écrit dans le message de
news: bek113$645$1 at sisko.nodomain.org...
> Well,
>
> I answer to myself. I think I have the fix.
>
> > - try to change this portion of cvsweb.cgi I think is related to the
> > problem (line 1743 to 1756 ~). I have not used regular expressions
before,
> > but I think it is in the first line that we can make a change so that
the
> > author name match even if there is a space in it. Could you help me to
> > make the change ?
>
> >
>
(m|^date:\s+(\d+)/(\d+)/(\d+)\s+(\d+):(\d+):(\d+);\s+author:\s+(\S+);\s+stat
> e:\s+(\S+);\s+(lines:\s+([0-9\s+-]+))?|)
>
> I changed the line above to
>
(m|^date:\s+(\d+)/(\d+)/(\d+)\s+(\d+):(\d+):(\d+);\s+author:\s+([^\t\n\r\f\v
> ]+);\s+state:\s+(\S+);\s+(lines:\s+([0-9\s+-]+))?|)
>
> replacing   author:\s+(\S+)   by   author:\s+([^\t\n\r\f\v]+).
>
> This works for my problem, but I wonder if this is introduce another
> potential bug.
>
> Thierry B.
>
>




More information about the cvsnt mailing list