fix HttpProxy turns ampersands into semicolons

This commit is contained in:
JT Smith 2006-06-10 16:34:59 +00:00
parent 47e6e65dd1
commit 0d1d2a4675
5 changed files with 62 additions and 1 deletions

View file

@ -21,6 +21,8 @@
- fix: op=saveSettings broken
- fix: EMS Discount Pass Not Applied
- fix: Commerce checkout confirmation very confusing
- fix: HttpProxy turns ampersands into semicolons
6.99.3
- Someone removed the status from the submission templates. That has been

View file

@ -24,9 +24,26 @@ my $session = start(); # this line required
fixSurvey($session);
fixEditWorkflow($session);
fixOrphans();
updateHttpProxy();
finish($session); # this line required
#-------------------------------------------------
sub updateHttpProxy {
print "\tAllowing HTTP Proxy to use ampersands in addition to semicolons in URLs.\n" unless ($quiet);
$session->db->write("alter table HttpProxy add column useAmpersand int not null default 0");
}
#-------------------------------------------------
sub fixOrphans {
print "\tFixing orphans created by 7fixup.\n" unless ($quiet);
my $db = $session->db;
$db->write("delete from template where assetId='9tBSOV44a9JPS8CcerOvYw'");
$db->write("delete from template where assetId='B1bNjWVtzSjsvGZh9lPz_A'");
}
#-------------------------------------------------
sub fixSurvey{
my $session = shift;