Re: Very serious bug with the [protect] tag
This WebDNA talk-list message is from 2003
It keeps the original formatting.
numero = 49536
interpreted = N
texte = Well, the [Authenticate] code is pretty straight forward, and has notchanged for years. It basically just sends a 401 Err response back to theclient browser.If you are not seeing a problem with IE or Netscape browsers, then I wouldsuspect there may be a bug with one or more Safari versions, with regard tohandling the 401 Err header. Can you provide specific information on theSafari versions you have seen this on? Also, please provide moreinformation about the server configuration (OS, WebServer, WebDNA version,etc...)> -----Original Message-----> From: Edna Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On Behalf Of> Claude Gelinas> Sent: Tuesday, April 15, 2003 12:27 PM> To: WebDNA Talk> Subject: Re: Very serious bug with the [protect] tag>>> Dear Scott,>> Thank you for this quick reply but it's not that. As such,> you can take> a look at my very normal code in the MultiGroupChecker page:>> [!] check for user in users.db[/!]> [showif NotFound=[lookup> db=Users.db&lookinField=user&value=[uppercase][username][/> uppercase]&returnField=user¬Found=NotFound]]> [authenticate Unauthorized User]> [/showif]>> [!] Check password of user in users.db[/!]> [showif> [url][encrypt][uppercase][password][/uppercase][/encrypt][/> url]![url][lookup> db=Users.db&lookinField=user&value=[uppercase][username][/> uppercase]&returnField=pass¬Found=NotFound][/url]]> [authenticate Unauthorized User]> [/showif]>> [!] Check if user is in the group[/!]> [search> db=Users.db&groupsword=ww&wogroupsdatarq=[uppercase][groups][/> uppercase]&equserdatarq=[uppercase][username][/> uppercase]&eqpassdatarq=[url][encrypt][uppercase][password][/> uppercase][/encrypt][/url]]> [showif [numFound]=0]> [authenticate Unauthorized User]> [/showif]> [/search]>> [!] Check if user is expired[/!]>>> [search> db=users.db&eqUSERdatarq=[uppercase][username][/> uppercase]&leEXPIRE_DATEdatarq=[DATE]&EXPIRE_DATEtype=date]> [founditems]> [hideif [EXPIRE_DATE]=[raw][EXPIRE_DATE][/raw]]> [hideif [EXPIRE_DATE]=]> [authenticate Unauthorized User - Expired]> [/hideif]> [/hideif]> [/founditems]> [/search]>> [!]> Users.hdr fields>> user pass groups expire_date expire_del>> expire_date: 01/01/2001> expire_del: T or F - Removes the acount if expired> [/!]>>>> ...as you can see, everything's fine. You have to remember> the problem> comes from both the [protect] and [authenticate] tag so it has to be> something deeper.>> Do you have any idea what it might be?>>>> On Tuesday, April 15, 2003, at 03:18 PM, Scott Anderson wrote:>> > I doubt there is a bug with the protect tag. The [Protect] tag is> > basically> > a MACRO for the WebDNA code contained in the> 'MultiGroupChecker' file> > located in your WebCatalogEngine folder. Check your copy> of that file> > to> > make sure that it is not corrupted, or perhaps broken by> some outside> > modifications.> >> >> -----Original Message-----> >> From: WebDNA Talk> [mailto:WebDNA-Talk@talk.smithmicro.com]On Behalf Of> >> Claude Gelinas> >> Sent: Tuesday, April 15, 2003 11:28 AM> >> To: WebDNA Talk> >> Subject: Very serious bug with the [protect] tag> >>> >>> >> Dear SMI Support,> >>> >> I've discovered a VERY SERIOUS BUG affecting the WebCatalog> >> 4.5 plug-in> >> when a page tries to display .dna code protected by the> [protect] tag.> >>> >> Using Safari, I get weird garbled code while on Explorer,> it returns> >> the data fine. You can read more about this bug at:> >> http://webmaster.mbnx.net/MacOSX/viewtopic.php?t=5> >>> >> ...and please, I'd like a fix for this very serious bug.> >>> >> Thank you,> >>> >> --> >> Claude Gelinas, Chief Technological Officer> >> MBNX.net - Online Services> >>> >> Direct: (418) 657-6184> >> Toll free: 1 866 783-2321> >>> >> Mailto:cgelinas@mbnx.net> >> Visit us - http://mbnx.net/> >>> >>> >> -------------------------------------------------------------> >> This message is sent to you because you are subscribed to> >> the mailing list
.> >> To unsubscribe, E-mail to: > >> To switch to the DIGEST mode, E-mail to> >> > >> Web Archive of this list is at: http://webdna.smithmicro.com/> >> > -------------------------------------------------------------> > This message is sent to you because you are subscribed to> > the mailing list .> > To unsubscribe, E-mail to: > > To switch to the DIGEST mode, E-mail to> > > > Web Archive of this list is at: http://webdna.smithmicro.com/> >> >>> --> Claude Gelinas, Chief Technological Officer> MBNX.net - Online Services>> Direct: (418) 657-6184> Toll free: 1 866 783-2321>> Mailto:cgelinas@mbnx.net> Visit us - http://mbnx.net/>>> -------------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to> > Web Archive of this list is at: http://webdna.smithmicro.com/-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Well, the [authenticate] code is pretty straight forward, and has notchanged for years. It basically just sends a 401 Err response back to theclient browser.If you are not seeing a problem with IE or Netscape browsers, then I wouldsuspect there may be a bug with one or more Safari versions, with regard tohandling the 401 Err header. Can you provide specific information on theSafari versions you have seen this on? Also, please provide moreinformation about the server configuration (OS, WebServer, WebDNA version,etc...)> -----Original Message-----> From: Edna Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On Behalf Of> Claude Gelinas> Sent: Tuesday, April 15, 2003 12:27 PM> To: WebDNA Talk> Subject: Re: Very serious bug with the [protect] tag>>> Dear Scott,>> Thank you for this quick reply but it's not that. As such,> you can take> a look at my very normal code in the MultiGroupChecker page:>> [!] check for user in users.db[/!]> [showif NotFound=[lookup> db=Users.db&lookinField=user&value=[uppercase][username][/> uppercase]&returnField=user¬Found=NotFound]]> [authenticate Unauthorized User]> [/showif]>> [!] Check password of user in users.db[/!]> [showif> [url][encrypt][uppercase][password][/uppercase][/encrypt][/> url]![url][lookup> db=Users.db&lookinField=user&value=[uppercase][username][/> uppercase]&returnField=pass¬Found=NotFound][/url]]> [authenticate Unauthorized User]> [/showif]>> [!] Check if user is in the group[/!]> [search> db=Users.db&groupsword=ww&wogroupsdatarq=[uppercase][groups][/> uppercase]&equserdatarq=[uppercase][username][/> uppercase]&eqpassdatarq=[url][encrypt][uppercase][password][/> uppercase][/encrypt][/url]]> [showif [numFound]=0]> [authenticate Unauthorized User]> [/showif]> [/search]>> [!] Check if user is expired[/!]>>> [search> db=users.db&eqUSERdatarq=[uppercase][username][/> uppercase]&leEXPIRE_DATEdatarq=[date]&EXPIRE_DATEtype=date]> [founditems]> [hideif [EXPIRE_DATE]=[raw][EXPIRE_DATE][/raw]]> [hideif [EXPIRE_DATE]=]> [authenticate Unauthorized User - Expired]> [/hideif]> [/hideif]> [/founditems]> [/search]>> [!]> Users.hdr fields>> user pass groups expire_date expire_del>> expire_date: 01/01/2001> expire_del: T or F - Removes the acount if expired> [/!]>>>> ...as you can see, everything's fine. You have to remember> the problem> comes from both the [protect] and [authenticate] tag so it has to be> something deeper.>> Do you have any idea what it might be?>>>> On Tuesday, April 15, 2003, at 03:18 PM, Scott Anderson wrote:>> > I doubt there is a bug with the protect tag. The [protect] tag is> > basically> > a MACRO for the WebDNA code contained in the> 'MultiGroupChecker' file> > located in your WebCatalogEngine folder. Check your copy> of that file> > to> > make sure that it is not corrupted, or perhaps broken by> some outside> > modifications.> >> >> -----Original Message-----> >> From: WebDNA Talk> [mailto:WebDNA-Talk@talk.smithmicro.com]On Behalf Of> >> Claude Gelinas> >> Sent: Tuesday, April 15, 2003 11:28 AM> >> To: WebDNA Talk> >> Subject: Very serious bug with the [protect] tag> >>> >>> >> Dear SMI Support,> >>> >> I've discovered a VERY SERIOUS BUG affecting the WebCatalog> >> 4.5 plug-in> >> when a page tries to display .dna code protected by the> [protect] tag.> >>> >> Using Safari, I get weird garbled code while on Explorer,> it returns> >> the data fine. You can read more about this bug at:> >> http://webmaster.mbnx.net/MacOSX/viewtopic.php?t=5> >>> >> ...and please, I'd like a fix for this very serious bug.> >>> >> Thank you,> >>> >> --> >> Claude Gelinas, Chief Technological Officer> >> MBNX.net - Online Services> >>> >> Direct: (418) 657-6184> >> Toll free: 1 866 783-2321> >>> >> Mailto:cgelinas@mbnx.net> >> Visit us - http://mbnx.net/> >>> >>> >> -------------------------------------------------------------> >> This message is sent to you because you are subscribed to> >> the mailing list .> >> To unsubscribe, E-mail to: > >> To switch to the DIGEST mode, E-mail to> >> > >> Web Archive of this list is at: http://webdna.smithmicro.com/> >> > -------------------------------------------------------------> > This message is sent to you because you are subscribed to> > the mailing list .> > To unsubscribe, E-mail to: > > To switch to the DIGEST mode, E-mail to> > > > Web Archive of this list is at: http://webdna.smithmicro.com/> >> >>> --> Claude Gelinas, Chief Technological Officer> MBNX.net - Online Services>> Direct: (418) 657-6184> Toll free: 1 866 783-2321>> Mailto:cgelinas@mbnx.net> Visit us - http://mbnx.net/>>> -------------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to> > Web Archive of this list is at: http://webdna.smithmicro.com/-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Scott Anderson
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
Webcat no longer supported? (2006)
WebCatalog can't find database (1997)
2.0 Beta (1997)
Stopping bad HTML propagation ? (1997)
shipcost (1997)
WebCat2 - Getting to the browser's username/password data (1997)
Word wrapping (1997)
WebCat2b13MacPlugIn - [include] (1997)
date pref (1999)
Database formats (2003)
WebDNA and SQL (2003)
Configuring E-mail (1997)
WebCatalog Hosting (1996)
form data submission gets truncated (1997)
Spawn doesn't work as advertised ... (2000)
WebDNA Trouble... (1999)
OT-Load balance (2004)
Bug Report, maybe (1997)
convert characters (2003)
Date Formats (1997)