|
When a particular link like First and Next are being clicked in Lounge, we get this type of URL:
http://www.codeproject.com/lounge.asp?fr=176<big>&forumid=1159</big>
I feel the item in Bold and Red are not required if the URI is lounge.asp. Only if it is generic forums.asp then, we have to pass the forumid.
Extra unneeded querystrings just open up security holes and exceptions end up burdening the server with exceptions.
|
|
|
|
|
Vasudevan Deepak Kumar wrote: Extra unneeded querystrings just open up security holes and exceptions end up burdening the server with exceptions.
What?
I hope you never bother looking a the forum links after doing a search - the shock might kill you...
every night, i kneel at the foot of my bed and thank the Great Overseeing Politicians for protecting my freedoms by reducing their number, as if they were deer in a state park. -- C hris L osinger, Online Poker Players?
|
|
|
|
|
Shog9 wrote: I hope you never bother looking a the forum links after doing a search - the shock might kill you...
True Shog. Here is one sample URL with loads of querystrings:
http://www.codeproject.com/script/comments/forums.asp?msg=2181077 &forumid=12076&XtraIDs=12076 &searchkw=C%23&sd=16+May+2007 &ed=14+Aug+2007&stype=1#xx2181077xx I have alternated between CODE and BIG tags for better understanding.
Actually in the URL sample I specified, the item that highlights red and emboldened is not required. Even when I remove that the page loads. Isn't it?
|
|
|
|
|
Vasudevan - I love it that you care so much but seriously: you have way too much time on your hands.
cheers,
Chris Maunder
CodeProject.com : C++ MVP
|
|
|
|
|
Chris Maunder wrote: way too much time
The other way to put, is my keyboard loves ALT+TABbing to keep myself busy.
|
|
|
|
|
Have you considered that lounge.asp could redirect to forums.asp? I know that if this were the case that they could automatically include forumid but if code is shared across pages then is it really worth the hassle of removing it?
|
|
|
|
|
I made a post with Ignore HTML tags option checked. Everything worked fine. I took Update message and turned it on. Message came correctly, but signature shown in text mode. It will be good if CP team can clear this.
|
|
|
|
|
|
In addition to Download code, it would be helpful if there was a View code button which would show a list of files in the source code bundle, and let users click on individual files to see the code. This would help users see how a particular task is done without downloading the entire solution.
|
|
|
|
|
It would really be a CPU intensive operation to unpack the zip files, show the files with syntax colorization.
Alongside, CP Team has to be step-up the security measures to ensure that the zip file is scanned for any viruses.
|
|
|
|
|
Vasudevan Deepak Kumar wrote: Alongside, CP Team has to be step-up the security measures to ensure that the zip file is scanned for any viruses.
Not enough to worry about.
Vasudevan Deepak Kumar wrote: It would really be a CPU intensive operation to unpack the zip files, show the files with syntax colorization
No we wouldn't: we'd be reading text files, HTML encoding them, colorizing, and then outputing them. Where's the attack vector?
cheers,
Chris Maunder
CodeProject.com : C++ MVP
|
|
|
|
|
Chris Maunder wrote: attack vector
A few articles are uploaded as ZIP files. Zip Files would contain a mix and match of EXE, DLL and OBJ files right? These binary files are susceptible to multitude of viral infections. Isn't it?
|
|
|
|
|
As I said previously: the zips would be opened, the contents of the files read and then output in HTML encoded form. We're not exactly going to go executing every file we find in the zip file on the servers...
cheers,
Chris Maunder
CodeProject.com : C++ MVP
|
|
|
|
|
i have left some messages for some articles, how can i find them?
sizheng
|
|
|
|
|
sizheng wrote: i have left some messages for some articles, how can i find them?
To see a list of the last 200(?) posts you've made, look at your profile. Click on the link to "Messages Posted."
In your case, your profile is here[^]. And the list of your posts is here[^].
|
|
|
|
|
oh, i see.
thank you very much.
|
|
|
|
|
I propose a forum just to discuss global warming. It seems to take up the soap-box every other day.
_____________________________________________
Flea Market! It's just like...it's just like...A MINI-MALL!
|
|
|
|
|
For the last time leckey, farting DOES NOT contribute to global warming
I get all the news I need from the weather report - Paul Simon (from "The Only Living Boy in New York")
|
|
|
|
|
Actually it does[^]. Significantly
cheers,
Chris Maunder
CodeProject.com : C++ MVP
|
|
|
|
|
If anything this is not the right forum for such discussions. Or is it?
Luc Pattyn [Forum Guidelines] [My Articles]
this weeks tips:
- make Visual display line numbers: Tools/Options/TextEditor/...
- show exceptions with ToString() to see all information
- before you ask a question here, search CodeProject, then Google
|
|
|
|
|
Absolutely not. But I can't let such an important mis-understanding about cow flatulence go unchecked, can I? Besides, I get to say "Cow flatulence" in a serious sentence.
(Yeah, it's been a long day...)
cheers,
Chris Maunder
CodeProject.com : C++ MVP
|
|
|
|
|
lacking a more appropriate forum, cows outside soapbox or lounge should be
flagged as abuse. (and obviously wandering pig messages would be spam).
Luc Pattyn [Forum Guidelines] [My Articles]
this weeks tips:
- make Visual display line numbers: Tools/Options/TextEditor/...
- show exceptions with ToString() to see all information
- before you ask a question here, search CodeProject, then Google
|
|
|
|
|
This post should really have gone in the Soapbox!
"I don't want more choice. I just want better things!" - Edina Monsoon
|
|
|
|
|
Code Project is getting javascript errors on FF:
Warning: Unknown property 'text-overflow'. Declaration dropped.
Source File: http://www.codeproject.com/styles/global.css
Line: 245
Warning: Error in parsing value for property 'height'. Declaration dropped.
Source File: http://www.codeproject.com/styles/global.css
Line: 411
Warning: Error in parsing value for property 'width'. Declaration dropped.
Source File: http://www.codeproject.com/styles/global.css
Line: 412
I found this when debugging one of my scripts and I read the error log on FF. It may help solve some strange behavior in FF?
-- modified at 11:49 Tuesday 14th August, 2007
|
|
|
|
|
Those are CSS warnings, not Javascript errors. They have no effect on the operation of Firefox
cheers,
Chris Maunder
CodeProject.com : C++ MVP
|
|
|
|