-------------------------------------------------------------------
Fri May 5 17:51:27 IST 2006 - smanojna@novell.com - Description: Bug 152929: Secret with special characters in name causing unexpected behaviour. This fix will only prevent the following special characters * : ' \ & = < > - Modified files: c_gui/Common.cs c_gui/images/casa.glade -------------------------------------------------------------------
This commit is contained in:
		
							
								
								
									
										12
									
								
								CASA.changes
									
									
									
									
									
								
							
							
						
						
									
										12
									
								
								CASA.changes
									
									
									
									
									
								
							| @@ -1,3 +1,15 @@ | |||||||
|  | ------------------------------------------------------------------- | ||||||
|  | Fri May  5 17:51:27 IST 2006 - smanojna@novell.com | ||||||
|  |  | ||||||
|  | - Description: | ||||||
|  |   Bug 152929: Secret with special characters in name causing | ||||||
|  |   unexpected behaviour. This fix will only prevent the  | ||||||
|  |   following special characters * : ' \ & = < > | ||||||
|  |  | ||||||
|  | - Modified files: | ||||||
|  |   c_gui/Common.cs | ||||||
|  |   c_gui/images/casa.glade | ||||||
|  |  | ||||||
| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ||||||
| Fri May  5 10:25:10 IST 2006 - smanojna@novell.com | Fri May  5 10:25:10 IST 2006 - smanojna@novell.com | ||||||
|   |   | ||||||
|   | |||||||
| @@ -61,16 +61,16 @@ public class Common | |||||||
|   |   | ||||||
|  	public static int 	 	MAX_LEN 	= 512; |  	public static int 	 	MAX_LEN 	= 512; | ||||||
|  	 |  	 | ||||||
|  	//static Char[] SpecialCharacters = new Char[]{ '*' }; |  	static Char[] SpecialCharacters = new Char[]{ '*', ':', '\'', '\\', '&', '=', '<', '>' }; | ||||||
|  	 |  	 | ||||||
|  	static Char[] SpecialCharacters = new Char[]{ '`', '~', '@', '#', '$', '%',  |  	/*static Char[] SpecialCharacters = new Char[]{ '`', '~', '@', '#', '$', '%',  | ||||||
|  												   '^', '&', '*', '(', ')',  |  												   '^', '&', '*', '(', ')',  | ||||||
|  												   '_', '=', '+', '|', '\\',  |  												   '_', '=', '+', '|', '\\',  | ||||||
|  												   '{', '}', '[', ']', ':',  |  												   '{', '}', '[', ']', ':',  | ||||||
|  												   ';', '\"', '\'', '<', '>',  |  												   ';', '\"', '\'', '<', '>',  | ||||||
|  												   ',', '.', '?', '/', '!'}; |  												   ',', '.', '?', '/', '!'}; | ||||||
|  	 |  	 | ||||||
|  	 |  	*/ | ||||||
|   	///############################################################## |   	///############################################################## | ||||||
|   	/// SPI CONSTANTS |   	/// SPI CONSTANTS | ||||||
|   	/// |   	/// | ||||||
|   | |||||||
| @@ -5068,7 +5068,9 @@ Jim Norman | |||||||
| Poorna Pushkala | Poorna Pushkala | ||||||
| Ahmed SK Anis | Ahmed SK Anis | ||||||
| Manohar Mathias | Manohar Mathias | ||||||
| CSL Manojna</b></property> | CSL Manojna | ||||||
|  | Nagareshwar Talekar | ||||||
|  | L Sreevatsa</b></property> | ||||||
| 			      <property name="use_underline">False</property> | 			      <property name="use_underline">False</property> | ||||||
| 			      <property name="use_markup">True</property> | 			      <property name="use_markup">True</property> | ||||||
| 			      <property name="justify">GTK_JUSTIFY_CENTER</property> | 			      <property name="justify">GTK_JUSTIFY_CENTER</property> | ||||||
| @@ -11273,7 +11275,9 @@ password to view the secrets.</property> | |||||||
| 	      <child> | 	      <child> | ||||||
| 		<widget class="GtkLabel" id="label255"> | 		<widget class="GtkLabel" id="label255"> | ||||||
| 		  <property name="visible">True</property> | 		  <property name="visible">True</property> | ||||||
| 		  <property name="label" translatable="yes"><b>Secret ID, Key and Value names cannot have these special characters.</b></property> | 		  <property name="label" translatable="yes"><b>The Secret ID and Key names may only contain  | ||||||
|  | the following characters  | ||||||
|  | 0-9, a-z, A-Z, and any of ~!@#$%^()_+-[]{};",./?</b></property> | ||||||
| 		  <property name="use_underline">False</property> | 		  <property name="use_underline">False</property> | ||||||
| 		  <property name="use_markup">True</property> | 		  <property name="use_markup">True</property> | ||||||
| 		  <property name="justify">GTK_JUSTIFY_LEFT</property> | 		  <property name="justify">GTK_JUSTIFY_LEFT</property> | ||||||
| @@ -11298,8 +11302,7 @@ password to view the secrets.</property> | |||||||
| 	      <child> | 	      <child> | ||||||
| 		<widget class="GtkLabel" id="label256"> | 		<widget class="GtkLabel" id="label256"> | ||||||
| 		  <property name="visible">True</property> | 		  <property name="visible">True</property> | ||||||
| 		  <property name="label" translatable="yes">Special characters: | 		  <property name="label" translatable="yes">Avoid using these special characters for Secret ID and Key names * : ' \ & = < ></property> | ||||||
| ~!@#$%^&*()_+=[]{}|\;':"<>,.?/</property> |  | ||||||
| 		  <property name="use_underline">False</property> | 		  <property name="use_underline">False</property> | ||||||
| 		  <property name="use_markup">False</property> | 		  <property name="use_markup">False</property> | ||||||
| 		  <property name="justify">GTK_JUSTIFY_LEFT</property> | 		  <property name="justify">GTK_JUSTIFY_LEFT</property> | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user