Re-adding (conditional) cookie baking. I'm not sure anyone has been successfully testing SVN WebGUI since it was removed.
Moving cookies out of session::open into contentHandler (they already were in uploadsHandler). Eliminating opening a new visitor session and then converting it to the actual user session for every single request by making two Session.pm methods public instead of private. Added NOT_FOUND to the list of exported from Const. Fixing a small bug in File.pm. Fixed some spacing/tabs/formatting issues in various places. This autocomplete in TortoiseSVN is really nifty.
This commit is contained in:
parent
5a754e2241
commit
818ff2608c
5 changed files with 103 additions and 72 deletions
|
|
@ -202,7 +202,7 @@ sub addFileFromFormPost {
|
|||
my $filename;
|
||||
my $attachmentCount = 1;
|
||||
foreach my $upload ($session{req}->upload($formVariableName)) {
|
||||
last if $attachmentCount > $attachmentLimit;
|
||||
return $filename if $attachmentCount > $attachmentLimit;
|
||||
my $tempPath = $upload->tempname();
|
||||
$filename = $upload->filename();
|
||||
next unless $filename;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue