Changeset 94129 in vbox for trunk/src/VBox/ValidationKit/testmanager/cgi
- Timestamp:
- Mar 8, 2022 2:57:25 PM (3 years ago)
- svn:sync-xref-src-repo-rev:
- 150378
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/testmanager/cgi/logout2.py
r93115 r94129 52 52 oSrvGlue.setHeaderField('Status', '401 Unauthorized to access the document'); 53 53 oSrvGlue.setHeaderField('WWW-authenticate', 'Basic realm="Test Manager"'); 54 if (sUserAgent.startswith('Mozilla/') and sUserAgent.find('AppleWebKit/') > 0) \ 55 or False: 54 if sUserAgent.startswith('Mozilla/') and sUserAgent.find('AppleWebKit/') > 0: 56 55 oSrvGlue.write('<p>Attempting to log out an Apple browser...</p>'); 57 56 else:
Note:
See TracChangeset
for help on using the changeset viewer.