| 
			 
			  | 
		
 | 
 
    Post Reply  
   | 
  
| Author | |
   
   jimgub  
   
   Newbie  
   Joined: April/15/04 Status: Offline Points: 32  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Topic: Header.aspx - dashes removed in SKUPosted: January/09/09 at 8:30am  | 
 
| 
   
    
   We noticed that when our SKU numbers had dashes in them, and we added an item with dashes in it's SKU to the Cart, or tried to modify that same item with the admin pages, the dashes would be removed.  
 
   
  It appeared the "culprit" was Header.aspx in stripping out the dashes. We changed the code to allow the dashes to remain.. Why did/does Header.aspx remove the dashes? Is their some other workaround...? thx Jim  | 
 |
![]()  | 
 |
   
   drafting  
   
   Groupie  
   Joined: March/22/04 Status: Offline Points: 64  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: June/16/09 at 1:09pm | 
 
| 
   
    
   Did you try using the ASCII code for the dash? 
 
   
  -  | 
 |
![]()  | 
 |
   
   admin  
   
   Admin Group  
   Forum Administrator Joined: March/11/04 Status: Offline Points: 329  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: August/20/09 at 12:36pm | 
 
| 
   
    
   The header.aspx "sanitizes" all input from the user to prevent SQL Injection.  You can change this very simply in the header.aspx and you saw.  You could also change the dashes to some other character if you wanted to.
    
   
   | 
 |
![]()  | 
 |
    Post Reply  
   | 
  |
|       
  
  Tweet   	
    | 
 
| Forum Jump | Forum Permissions  ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum  |