Diff for /loncom/publisher/lonupload.pm between versions 1.38.2.2 and 1.38.2.3

version 1.38.2.2, 2008/12/17 19:18:47 version 1.38.2.3, 2008/12/21 04:43:41
Line 335  function verifyForm() { Line 335  function verifyForm() {
     my $fn;      my $fn;
     if ($env{'form.filename'}) {      if ($env{'form.filename'}) {
  $fn=$env{'form.filename'};   $fn=$env{'form.filename'};
  $fn=~s/^http\:\/\/[^\/]+\///;   $fn=~s/^https?\:\/\/[^\/]+\///;
  $fn=~s/^\///;   $fn=~s/^\///;
  $fn=~s{(~|priv/)($LONCAPA::username_re)}{};   $fn=~s{(~|priv/)($LONCAPA::username_re)}{};
  $fn=~s/\/+/\//g;   $fn=~s/\/+/\//g;

Removed from v.1.38.2.2  
changed lines
  Added in v.1.38.2.3


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>