[LON-CAPA-cvs] cvs: loncom /interface lonexturlcheck.pm

raeburn raeburn at source.lon-capa.org
Thu May 2 16:28:19 EDT 2019


raeburn		Thu May  2 20:28:19 2019 EDT

  Modified files:              
    /loncom/interface	lonexturlcheck.pm 
  Log:
  - Remove trailing white space in documentation.
  
  
Index: loncom/interface/lonexturlcheck.pm
diff -u loncom/interface/lonexturlcheck.pm:1.1 loncom/interface/lonexturlcheck.pm:1.2
--- loncom/interface/lonexturlcheck.pm:1.1	Thu May  2 02:12:19 2019
+++ loncom/interface/lonexturlcheck.pm	Thu May  2 20:28:18 2019
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Handler to check if external resource can be shown in iframe
 #
-# $Id: lonexturlcheck.pm,v 1.1 2019/05/02 02:12:19 raeburn Exp $
+# $Id: lonexturlcheck.pm,v 1.2 2019/05/02 20:28:18 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -41,10 +41,10 @@
 privilege or with view-only access to course editing tools.
 
 Query string contains one item: name=exturl, value=URL of external resource
-(format: http://hostname/path or https://hostname/path). 
+(format: http://hostname/path or https://hostname/path).
  
 The resource URL is sent to &loncommon::is_nonframeable() to check whether
-it can be displayed in an iframe in a page served by the current host. 
+it can be displayed in an iframe in a page served by the current host.
 
 =head1 OVERVIEW
 
@@ -53,18 +53,18 @@
 Hostname, lonHostID, and IP address for this node are retrieved from Apache.
 
 Dependencies: calls &loncommon::is_nonframeable() to check if server where
-external resource is hosted is configured with a Content-Security-Policy or 
+external resource is hosted is configured with a Content-Security-Policy or
 with X-Frame-options settings which prohibit display of the resource within
-an iframe in a LON-CAPA page served from this node. 
+an iframe in a LON-CAPA page served from this node.
 
 Output to print buffer: (content-type: text/plain):  1, 0, -1 or empty string.
 '' -- display in iframe is allowed
-1  -- display in iframe not allowed 
+1  -- display in iframe not allowed
 0  -- invalid URL
--1 -- could not verify course editing privilege or view-only access to 
+-1 -- could not verify course editing privilege or view-only access to
       course editing tools
 
-HTTP Return codes: 
+HTTP Return codes:
 406 -- if user is not in a course
 200 -- otherwise
 




More information about the LON-CAPA-cvs mailing list