Bugs item #1250295, was opened at 2005-08-02 16:47 Message generated for change (Comment added) made by cito You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104866&aid=1250295&group_id=4866
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: WebKit Group: None >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Oscar Kuchuk (okuchuk) >Assigned to: Christoph Zwerschke (cito) Summary: AppServer fails to start when picking passwords containing % Initial Comment: When you pick a password for admin containig a % character Cnfigurable .py ends with errors like this : Traceback (most recent call last): File "WebKit/ThreadedAppServer.py", line 592, in run File "WebKit/ThreadedAppServer.py", line 66, in __init__ File "WebKit/AutoReloadingAppServer.py", line 43, in __init__ File "WebKit/AppServer.py", line 67, in __init__ File "WebKit/AppServer.py", line 171, in createApplication File "WebKit/Application.py", line 76, in __init__ File "WebKit/ConfigurableForServerSidePath.py", line 15, in setting File "/root/Webware-0.8.1/MiscUtils/Configurable.py", line 66, in setting return self.config()[name] File "/root/Webware-0.8.1/MiscUtils/Configurable.py", line 59, in config self._config.update(self.userConfig()) File "/root/Webware-0.8.1/MiscUtils/Configurable.py", line 115, in userConfig raise ConfigurationError, 'Unable to embed replacement text in %s.' % self.configFilename() ConfigurationError: Unable to embed replacement text in /root/AvalApp/Configs/Application.config. password for admin must be saved escaped in install.py like password=getpass.getpass().replace('%','%%') line 172 , and 178 ---------------------------------------------------------------------- >Comment By: Christoph Zwerschke (cito) Date: 2005-10-28 07:37 Message: Logged In: YES user_id=193957 The replacement happens only for dictionary-style syntax. Since the Application.config has now new syntax, it does not happen any more. However, two other critical characters (single quotes and backslash) need to be escaped as well. I have checked in a fix for this. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104866&aid=1250295&group_id=4866 ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information _______________________________________________ Webware-devel mailing list Webware-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/webware-devel