[LON-CAPA-cvs] cvs: loncom /interface londocs.pm
raeburn
raeburn at source.lon-capa.org
Sat Dec 20 15:32:34 EST 2014
raeburn Sat Dec 20 20:32:34 2014 EDT
Modified files:
/loncom/interface londocs.pm
Log:
- Accommodate single quotes in folder path when accessing the Course Editor
from "Edit Folder" link/icon in Functions menu for a resource in the course.
Index: loncom/interface/londocs.pm
diff -u loncom/interface/londocs.pm:1.589 loncom/interface/londocs.pm:1.590
--- loncom/interface/londocs.pm:1.589 Thu Dec 4 14:27:06 2014
+++ loncom/interface/londocs.pm Sat Dec 20 20:32:33 2014
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Documents
#
-# $Id: londocs.pm,v 1.589 2014/12/04 14:27:06 raeburn Exp $
+# $Id: londocs.pm,v 1.590 2014/12/20 20:32:33 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -5838,6 +5838,7 @@
if (&Apache::lonnet::is_on_map($res)) {
$backtourl = &HTML::Entities::encode(&Apache::lonnet::clutter($res),'<>&"').'?symb='.
&HTML::Entities::encode($caller,'<>&"');
+ $backtourl = &Apache::loncommon::escape_single($backtourl);
} else {
$backtourl = '/adm/navmaps';
}
More information about the LON-CAPA-cvs
mailing list