bugfix [ 1263934 ] 6.6.5 Import Scripts Asset URLs
This commit is contained in:
parent
d39e649906
commit
a1471d17b6
2 changed files with 6 additions and 2 deletions
|
|
@ -1,6 +1,7 @@
|
||||||
6.7.2
|
6.7.2
|
||||||
- fix [ 1265788 ] SyndicatedContent *not working* in 6.7.x
|
- fix [ 1265788 ] SyndicatedContent *not working* in 6.7.x
|
||||||
- fix [ 1245765 ] Missing 'page not found' crashes settings
|
- fix [ 1245765 ] Missing 'page not found' crashes settings
|
||||||
|
- fix [ 1263934 ] 6.6.5 Import Scripts Asset URLs
|
||||||
|
|
||||||
6.7.1
|
6.7.1
|
||||||
- fix [ 1206046 ] function tinyMCE_WebGUI_Cleanup don't work
|
- fix [ 1206046 ] function tinyMCE_WebGUI_Cleanup don't work
|
||||||
|
|
|
||||||
|
|
@ -283,7 +283,10 @@ sub fixUrl {
|
||||||
if (length($url) > 250) {
|
if (length($url) > 250) {
|
||||||
$url = substr($url,220);
|
$url = substr($url,220);
|
||||||
}
|
}
|
||||||
if ($session{setting}{urlExtension} ne "" && !($url =~ /\./)) {
|
if ($session{setting}{urlExtension} ne "" #don't add an extension if one isn't set
|
||||||
|
&& !($url =~ /\./) #don't add an extension of the url already contains a dot
|
||||||
|
&& $self->get("url") eq $self->getId # only add it if we're creating a new url
|
||||||
|
) {
|
||||||
$url .= ".".$session{setting}{urlExtension};
|
$url .= ".".$session{setting}{urlExtension};
|
||||||
}
|
}
|
||||||
my ($test) = WebGUI::SQL->quickArray("select url from assetData where assetId<>".quote($self->getId)." and url=".quote($url));
|
my ($test) = WebGUI::SQL->quickArray("select url from assetData where assetId<>".quote($self->getId)." and url=".quote($url));
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue