Forum Home Forum Home > Legacy Products > SalesCart NET
  New Posts New Posts RSS Feed - Header.aspx - dashes removed in SKU
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Forum LockedHeader.aspx - dashes removed in SKU

 Post Reply Post Reply
Author
Message
jimgub View Drop Down
Newbie
Newbie


Joined: April/15/04
Status: Offline
Points: 32
Post Options Post Options   Thanks (0) Thanks(0)   Quote jimgub Quote  Post ReplyReply Direct Link To This Post Topic: Header.aspx - dashes removed in SKU
    Posted: 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
Back to Top
drafting View Drop Down
Groupie
Groupie


Joined: March/22/04
Status: Offline
Points: 64
Post Options Post Options   Thanks (0) Thanks(0)   Quote drafting Quote  Post ReplyReply Direct Link To This Post Posted: June/16/09 at 1:09pm
Did you try using the ASCII code for the dash?

-
Back to Top
admin View Drop Down
Admin Group
Admin Group

Forum Administrator

Joined: March/11/04
Status: Offline
Points: 329
Post Options Post Options   Thanks (0) Thanks(0)   Quote admin Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.04
Copyright ©2001-2015 Web Wiz Ltd.

Copyright 2015 by ComCity® LLC and SalesCart™.  All Rights Reserved