bugfix [ 920089 ] Problem with clipboard and object names containing a quote
This commit is contained in:
parent
1d5d9710da
commit
daf02a4a91
2 changed files with 5 additions and 0 deletions
|
|
@ -17,6 +17,8 @@ Andreas Graf).
|
||||||
- Bugfix [ 916538 ] Typo in lib/WebGUI/Auth.pm
|
- Bugfix [ 916538 ] Typo in lib/WebGUI/Auth.pm
|
||||||
- Bugfix [ 917783 ] 6.0.0 Date Changes
|
- Bugfix [ 917783 ] 6.0.0 Date Changes
|
||||||
- Bugfix [ 914217 ] content managers cannot turn admin on
|
- Bugfix [ 914217 ] content managers cannot turn admin on
|
||||||
|
- Bugfix [ 920089 ] Problem with clipboard and object names containing a
|
||||||
|
quote.
|
||||||
|
|
||||||
|
|
||||||
6.0.0
|
6.0.0
|
||||||
|
|
|
||||||
|
|
@ -38,6 +38,7 @@ sub process {
|
||||||
my $i;
|
my $i;
|
||||||
my $sth = WebGUI::SQL->read("select pageId,title from page where parentId=5");
|
my $sth = WebGUI::SQL->read("select pageId,title from page where parentId=5");
|
||||||
while (my %data = $sth->hash) {
|
while (my %data = $sth->hash) {
|
||||||
|
$data{title} =~ s/'//g;
|
||||||
push(@packages, {
|
push(@packages, {
|
||||||
'package.url'=>WebGUI::URL::page('op=deployPackage&pid='.$data{pageId}),
|
'package.url'=>WebGUI::URL::page('op=deployPackage&pid='.$data{pageId}),
|
||||||
'package.label'=>$data{title},
|
'package.label'=>$data{title},
|
||||||
|
|
@ -88,6 +89,7 @@ sub process {
|
||||||
}
|
}
|
||||||
$r = WebGUI::SQL->read($query);
|
$r = WebGUI::SQL->read($query);
|
||||||
while (%cphash = $r->hash) {
|
while (%cphash = $r->hash) {
|
||||||
|
$cphash{title} =~ s/'//g;
|
||||||
push @item, [ $cphash{bufferDate},
|
push @item, [ $cphash{bufferDate},
|
||||||
WebGUI::URL::page('op=pastePage&pageId='.$cphash{pageId}),
|
WebGUI::URL::page('op=pastePage&pageId='.$cphash{pageId}),
|
||||||
$cphash{title} . ' ('. WebGUI::International::get(2) .')' ];
|
$cphash{title} . ' ('. WebGUI::International::get(2) .')' ];
|
||||||
|
|
@ -105,6 +107,7 @@ sub process {
|
||||||
}
|
}
|
||||||
$r = WebGUI::SQL->read($query);
|
$r = WebGUI::SQL->read($query);
|
||||||
while (%cphash = $r->hash) {
|
while (%cphash = $r->hash) {
|
||||||
|
$cphash{title} =~ s/'//g;
|
||||||
push @item, [ $cphash{bufferDate},
|
push @item, [ $cphash{bufferDate},
|
||||||
WebGUI::URL::page('func=paste&wid='.$cphash{wobjectId}),
|
WebGUI::URL::page('func=paste&wid='.$cphash{wobjectId}),
|
||||||
$cphash{title} . ' ('. $cphash{namespace} .')' ];
|
$cphash{title} . ' ('. $cphash{namespace} .')' ];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue