![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Programming Guru
![]() Join Date: Jun 2005
Location: Adelaide, South Australia
Posts: 1,254
Rep Power: 5
![]() |
Editing of messages
There's been a change recently, when editing posts. I've noticed it as I often go back in shortly after creating a post and edit it to fix minor typos. Over the last couple of weeks, the text that is presented for editing is the HTML equivalent of the original For example [code] blocks show up in the editor as their HTML equivalents. This has a couple of implications; 1) People who don't recognise HTML will have trouble editing their message as it looks different from what the typed a few minutes back. A minor consequence is that multiple paragraphs in a post get merged into one in some circumstances. 2) It is a potential security hole for the site: by posting a message and then editing it, someone malicious could insert new code that is a bit less innocent than simply formatting their post.
|
|
|
|
|
|
#2 |
|
PFO Founder
![]() ![]() |
Thanks for the information. I didn't realize it was doing this. I will look into it. Thanks
__________________
BIG K aka Kyle Programming Forums Kyle K Online Please do not PM or email me programming questions. Post them in the forums instead. |
|
|
|
|
|
#3 |
|
Programming Guru
![]() Join Date: Jun 2005
Location: Adelaide, South Australia
Posts: 1,254
Rep Power: 5
![]() |
It's still doing it.
If you want an example that causes frustrations, go through the following steps; 1) create (for yourself) a new post that places the following code in [code] blocks. #include <iostream>
int main()
{
std::cout << "Hello\n";
}2) It will post fine. But then click the edit button. Do nothing, but hit the button to save the changes. You will find the code looks markedly different (as the double quotes are now displayed as markup). I'll give two posts in sequence after this one. They will be identical, except that I went through the sequence with the second one. |
|
|
|
|
|
#4 |
|
Programming Guru
![]() Join Date: Jun 2005
Location: Adelaide, South Australia
Posts: 1,254
Rep Power: 5
![]() |
#include <iostream>
int main()
{
std::cout << "Hello\n";
} |
|
|
|
|
|
#5 |
|
Programming Guru
![]() Join Date: Jun 2005
Location: Adelaide, South Australia
Posts: 1,254
Rep Power: 5
![]() |
Only difference between this post and the last is that I've hit the edit button and saved changes (and added this line to stop a complaint about duplicate posts).
#include <iostream>
int main()
{
std::cout << "Hello\n";
} |
|
|
|
|
|
#6 |
|
PFO Founder
![]() ![]() |
#include <iostream>
int main()
{
std::cout << "Hello\n";
}
__________________
BIG K aka Kyle Programming Forums Kyle K Online Please do not PM or email me programming questions. Post them in the forums instead. |
|
|
|
|
|
#7 |
|
Newbie
Join Date: Jul 2006
Posts: 1
Rep Power: 0
![]() |
#include <iostream>
int main()
{
std::cout << "Hello\n";
} |
|
|
|
|
|
#8 |
|
PFO Founder
![]() ![]() |
I don't know why I can't get this to happen for me but It just doesn't seem to happen. Maybe when we upgrade to vB 3.6 once it has gone Gold it will fix the problem
__________________
BIG K aka Kyle Programming Forums Kyle K Online Please do not PM or email me programming questions. Post them in the forums instead. |
|
|
|
|
|
#9 |
|
Programming Guru
![]() Join Date: Jun 2005
Location: Adelaide, South Australia
Posts: 1,254
Rep Power: 5
![]() |
Hmmm..... maybe it's a browser problem. I use firefox.
This post done with (groan, yick) IE. I'll try the same things
Edit: it comes up differently, without the same problem. |
|
|
|
|
|
#10 |
|
Programming Guru
![]() Join Date: Jun 2005
Location: Adelaide, South Australia
Posts: 1,254
Rep Power: 5
![]() |
This post done also with IE.
Following is the literal text that appears in the edit pane when using firefox one my last message. [HTML] Hmmm..... maybe it's a browser problem. I use firefox.<br /> <br /> This post done with (groan, yick) IE. I'll try the same things<br /> <br /> <br />
<div align="left">#include <iostream><br />
int main()<br />
{<br />
std::cout << "Hello\n";<br />
}<br />
</div>Edit: it comes up differently, without the same problem. [/HTML] |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| solving warning messages, in a program | kalulu | C | 4 | Nov 25th, 2005 9:41 PM |
| Program for editing fstab | Benoit | Show Off Your Open Source Projects | 3 | Nov 15th, 2005 10:50 PM |
| Messages Awaiting Replies | ChiHappens | Community Announcements and Feedback | 7 | Sep 22nd, 2005 5:09 PM |
| Hex editing - How to get starting modding exe files?? | wazoo | Assembly | 9 | Sep 20th, 2005 12:51 PM |
| List and explanation of all dev-c++ error messages | Josef_Stalin | C++ | 4 | Jul 18th, 2005 3:30 PM |