[Fedora-directory-commits] dsgw/tests/edit testget.13,1.2,1.3

Richard Allen Megginson (rmeggins) fedora-directory-commits at redhat.com
Thu Mar 6 22:00:43 UTC 2008


Author: rmeggins

Update of /cvs/dirsec/dsgw/tests/edit
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv16950/dsgw/tests/edit

Modified Files:
	testget.13 
Log Message:
Resolves: bug 435230
Description: Clean up all HTML pages (Gateway, Org Tool, Phonebook, etc)
Fix Description: This is just the first pass.  I focused mainly on the
phonebook pages, but the C code fixes will apply to dsgw too.
The goal is to make the pages clean with HTML Tidy running in Firefox 2.
Most of the template pages had to change because they had comments like
this:
<!-- ----- comment -----
HTML 4.01 does not like this - no sequence of -- or more dashes in a comment.
The other major change was the use of & instead of just a single & in
URLs for href and img src links.  However, javascript does not like the
encoded entities, so I had to add some code to make sure we use the
unencoded form in javascript, so I added another option called "entities"
to the html template code, and added a function that will convert
encoded entities to their raw form in place.
I'm also adding some debugging shell scripts that can be used to debug
CGI programs.
Platforms tested: RHEL5 x86_64
Flag day: Yes - autotool file changes.
Doc: none yet



Index: testget.13
===================================================================
RCS file: /cvs/dirsec/dsgw/tests/edit/testget.13,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- testget.13	27 Feb 2008 03:36:53 -0000	1.2
+++ testget.13	6 Mar 2008 22:00:40 -0000	1.3
@@ -1 +1 @@
-info=<SCRIPT language=JavaScript>You've just been p0wned!</SCRIPT>&dn=uid=newuser,ou=people,dc=example,dc=com&dnattr=uid&dndesc=u i d&add=1&tmplname=person
\ No newline at end of file
+info=<SCRIPT type="text/javascript">You've just been p0wned!</SCRIPT>&dn=uid=newuser,ou=people,dc=example,dc=com&dnattr=uid&dndesc=u i d&add=1&tmplname=person
\ No newline at end of file




More information about the Fedora-directory-commits mailing list