Report Bugs Here

Suggestions and comments about SummitPost's features, policies, and procedures. Post bugs here.
User Avatar
JohnMcPike

 
Posts: 52
Joined: Mon Jun 14, 2004 12:34 am
Thanked: 7 times in 5 posts

Re: Report Bugs Here

by JohnMcPike » Tue Dec 03, 2013 2:07 am

for some reason when I go onto SP, I go to sign on and it automatically goes to my page yet I'm not signed on. I;m not allowed to vote on pages or pictures and not able to post any comments whether its on the forum or on a page. Cannot sign out because I'm not signed on. First time this happened I did not go onto SP for 2-3 weeks and it seemed to fiix itself but this time around it did not. I am only able to post this because I am on a different computer.

Hope this makes sense.

User Avatar
Sean Kenney

 
Posts: 410
Joined: Thu Dec 04, 2003 7:04 pm
Thanked: 59 times in 35 posts

Re: Report Bugs Here

by Sean Kenney » Sun Dec 08, 2013 1:39 am

I'm having trouble adding a new topic in on the Southwest US board. When I click "new topic" I'm sent to my profile page. I did try other forums and was directed to the new topic pages for each of the few I sampled.

Thanks,
Sean Kenney.

Update: This appears to be a FIrefox issue. I.E. will allow me to post.

User Avatar
hgrapid

 
Posts: 2770
Joined: Sun Feb 09, 2003 11:34 am
Thanked: 12 times in 7 posts

Re: Report Bugs Here

by hgrapid » Tue Dec 17, 2013 3:11 am

I get messages sent to my inbox from my e-mail. Then I open the e-mail and get this note: "This message was not sent to you. Stop trying to read other people's mail!" It is odd to have that response. It appears punitive or angry at the person who opened it, when it was the site that sent me the mail, not me hacking into Summitpost. Any explanation?

User Avatar
selinunte01

 
Posts: 170
Joined: Thu Nov 20, 2008 4:10 pm
Thanked: 15 times in 14 posts

Re: Report Bugs Here

by selinunte01 » Tue Dec 17, 2013 7:21 am

hgrapid wrote:I get messages sent to my inbox from my e-mail. Then I open the e-mail and get this note: "This message was not sent to you. Stop trying to read other people's mail!" It is odd to have that response. It appears punitive or angry at the person who opened it, when it was the site that sent me the mail, not me hacking into Summitpost. Any explanation?


I do have the same "problem" - it seems to occur when a fake user is deleted previously before I try to open the message (?)

Today it was this one:

Hi selinunte01, akpenejoseph1 just sent you a private message.
You can read the new message here:

http://www.summitpost.org/view_privmsg. ... lder=inbox

If the link does not work, try copying and pasting this link into your web browser:
http://www.summitpost.org/view_privmsg. ... lder=inbox

Have a nice day!

User Avatar
Bob Sihler
Forum Moderator
 
Posts: 8486
Joined: Mon Aug 23, 2004 3:20 pm
Thanked: 2763 times in 1527 posts

Re: Report Bugs Here

by Bob Sihler » Tue Dec 17, 2013 3:24 pm

We're probably going to change that message or do away with it entirely.

Apparently, at least one member has found the message very offensive. People ought to take a deep breath and realize that whoever wrote that message back in the day was probably trying to be a little funny. I seriously doubt it was actually meant to scold or offend.
"Alcohol is like love. The first kiss is magic, the second is intimate, the third is routine. After that you take the girl's clothes off."

--Terry Lennox, The Long Goodbye (Raymond Chandler)

User Avatar
anita

 
Posts: 218
Joined: Fri Jul 17, 2009 2:33 am
Thanked: 909 times in 577 posts

Re: Report Bugs Here

by anita » Tue Dec 17, 2013 10:30 pm

add a smiley to it
then they will understand

sensitive weenies! ;)

The following user would like to thank anita for this post
John Duffield, Josh Lewis

User Avatar
Scott
Forum Moderator
 
Posts: 8549
Joined: Thu Aug 21, 2003 1:03 pm
Thanked: 1212 times in 650 posts

Re: Report Bugs Here

by Scott » Fri Dec 20, 2013 3:32 pm

I am about to add five pages to Trinidad and Tobago. Any way we can get the country's name fixed in the dropdown? :wink:

User Avatar
Josh Lewis

 
Posts: 3414
Joined: Thu Jan 06, 2011 11:12 pm
Thanked: 1111 times in 679 posts

Re: Report Bugs Here

by Josh Lewis » Sat Dec 21, 2013 2:16 am

Scott, you should add that name to the page anyways. If it's a renamed country, Matt can change it's display value from the one you chose right now. But if it's a country that splits into two, then you have a more complicated issue.

But yes, that should be changed. We should generate a list of countries that should be added, changed, or removed. I don't suppose you could help with that? Once it's ready we can put it on the platter for recommending it to Matt. :)

User Avatar
Scott
Forum Moderator
 
Posts: 8549
Joined: Thu Aug 21, 2003 1:03 pm
Thanked: 1212 times in 650 posts

Re: Report Bugs Here

by Scott » Sat Dec 21, 2013 2:48 pm

We should generate a list of countries that should be added, changed, or removed. I don't suppose you could help with that?


Sure. I am planning on helping with that.

User Avatar
rgg
Forum Moderator
 
Posts: 859
Joined: Sat Oct 02, 2010 7:15 pm
Thanked: 192 times in 154 posts

Re: Report Bugs Here

by rgg » Fri Jan 10, 2014 8:07 am

When I post an image, I sometimes HTML in the text below. That used to work fine, but recently something has changed: part of the caption now shows up at the top of the page (and still also below the image, where it belongs).

An example is this one.

Digging a bit deeper, I found out that the problem is caused by one of the meta tags in the header of the page. The general form reads:

Code: Select all
<meta name="description" content="caption text" />


where the caption text is replaced by the actual caption below the posted image. Normally that's fine, but this can fail if there is HTML code in the caption text. First of all, the first " that happens to appear in the caption text will close the string. Secondly, if there is a /> anywhere after that ", it will denote the end of the meta tag itself, and the rest of the caption wrecks havoc!


For the record, I can work around this myself, but similar problems may affect other pictures. More precicely, any picture that has a " in the caption! That suggests a crude but simple solution to the problem: before copying the caption text into the content attribute of the meta tag, simpy remove all double quotes, or replace them with something else.

User Avatar
nartreb

 
Posts: 2232
Joined: Sat Apr 03, 2004 10:45 pm
Thanked: 184 times in 155 posts

Re: Report Bugs Here

by nartreb » Fri Jan 10, 2014 3:36 pm

Ditto to what rgg just posted. I have HTML in most of my image captions, so this affects hundreds of photos.

Here's a particularly dramatic example: http://www.summitpost.org/sightseeing/187128


General solution is to sanitize your inputs (don't allow user-written strings inside the META tag unless you escape all the special HTML characters first.) This needs to be a theme of the site's coding in general, for security reasons.

User Avatar
Josh Lewis

 
Posts: 3414
Joined: Thu Jan 06, 2011 11:12 pm
Thanked: 1111 times in 679 posts

Re: Report Bugs Here

by Josh Lewis » Fri Jan 10, 2014 7:25 pm

I don't understand how meta data can break "real" data? I understand inaccuracies of typed code, but this seems a bit different.

User Avatar
nartreb

 
Posts: 2232
Joined: Sat Apr 03, 2004 10:45 pm
Thanked: 184 times in 155 posts

Re: Report Bugs Here

by nartreb » Fri Jan 10, 2014 8:41 pm

Josh, are you asking how the bug "worked", or are you asking what it has to do with security?

If the former, the answer is simple: the META tag ends at a > . If the content copied in contains a > character [and a double quote somewhere before that], then that character ends the META tag and the rest of the copied content is now outside the META tag, making it ordinary HTML that will be displayed on the page. (You might think that nothing would be displayed since it's still within the HEAD, but you'd be wrong.)

Code: Select all
<meta name="description" content="here is some caption text containing a double quote "  and then a > character" />


In this example the META tag ends before the word "character"

As to the latter, this bug doesn't necessarily expose anything more than allowing HTML comments does in the first place. Which isn't all that much; input-sanitizing applies first and foremost to your SQL, second to your server-side scripts. Client-side stuff is fundamentally beyond your control, though you can do some cleaning to prevent the most common annoyances. In this case, the meta tag is generated server-side, which caused me to raise an eyebrow.

The following user would like to thank nartreb for this post
Josh Lewis

User Avatar
Alpinist

 
Posts: 6825
Joined: Tue Jul 29, 2003 7:21 pm
Thanked: 1085 times in 735 posts

Re: Report Bugs Here

by Alpinist » Fri Jan 17, 2014 4:39 pm

Not sure if this has been reported yet but MyTopo maps are not working correctly. The link no longer takes you to the specific coordinates.

User Avatar
Josh Lewis

 
Posts: 3414
Joined: Thu Jan 06, 2011 11:12 pm
Thanked: 1111 times in 679 posts

Re: Report Bugs Here

by Josh Lewis » Fri Jan 17, 2014 5:59 pm

Seems to work now. :) The URL should add a "&z=15" at the end of it so that it is zoomed in to that peak. I tested this to confirm that it works. Right now when using the link to MyTopo it has me zoomed way out which is inconvenient.

The following user would like to thank Josh Lewis for this post
Alpinist

PreviousNext

Return to Site Feedback

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 0 guests