www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Web-news reader generates wrong links

reply Andrej Mitrovic <andrej.mitrovich gmail.com> writes:
Example page:
http://www.digitalmars.com/webnews/newsgroups.php?art_group=digitalmars.D&article_id=93706

If you click on the first "Re" link, you'll get redirected here:
http://www.digitalmars.com/webnews/newsgroups.php?art_group=D.gnu&article_id=93711

But that link should be:
http://www.digitalmars.com/webnews/newsgroups.php?art_group=digitalmars.D&article_id=93711

The link has the wrong "art_group" value, it seems to set it to
`D.gnu` all the time instead of wherever the original post originated
from, in this case `digitalmars.D`.

There are numerous examples like this that are linked from the dwiki
page which have the wrong links generated for all the RE replies.
Jun 22 2011
next sibling parent reply "Steven Schveighoffer" <schveiguy yahoo.com> writes:
On Wed, 22 Jun 2011 14:12:12 -0400, Andrej Mitrovic  
<andrej.mitrovich gmail.com> wrote:

 Example page:
 http://www.digitalmars.com/webnews/newsgroups.php?art_group=digitalmars.D&article_id=93706

 If you click on the first "Re" link, you'll get redirected here:
 http://www.digitalmars.com/webnews/newsgroups.php?art_group=D.gnu&article_id=93711

 But that link should be:
 http://www.digitalmars.com/webnews/newsgroups.php?art_group=digitalmars.D&article_id=93711

 The link has the wrong "art_group" value, it seems to set it to
 `D.gnu` all the time instead of wherever the original post originated
 from, in this case `digitalmars.D`.

This does not happen to me, but I think I've seen it before. I think it has to do with some sort of cookie that webnews uses. Try going to the main page (with all the threads), and then go back to that specific one, I think it will work. -Steve
Jun 22 2011
parent bearophile <bearophileHUGS lycos.com> writes:
Steven Schveighoffer:

 Try going to the main page (with all the threads), and then go back to  
 that specific one, I think it will work.

Is fixing the site an option, instead? Since about two months the online web interface doesn't allow me to go past the first page of the main D newsgroup: http://www.digitalmars.com/webnews/newsgroups.php?search_txt=&group=digitalmars.D Bye, bearophile
Jun 22 2011
prev sibling next sibling parent reply Andrej Mitrovic <andrej.mitrovich gmail.com> writes:
On 6/22/11, Steven Schveighoffer <schveiguy yahoo.com> wrote:
 On Wed, 22 Jun 2011 14:12:12 -0400, Andrej Mitrovic
 <andrej.mitrovich gmail.com> wrote:

 Example page:
 http://www.digitalmars.com/webnews/newsgroups.php?art_group=digitalmars.D&article_id=93706

 If you click on the first "Re" link, you'll get redirected here:
 http://www.digitalmars.com/webnews/newsgroups.php?art_group=D.gnu&article_id=93711

 But that link should be:
 http://www.digitalmars.com/webnews/newsgroups.php?art_group=digitalmars.D&article_id=93711

 The link has the wrong "art_group" value, it seems to set it to
 `D.gnu` all the time instead of wherever the original post originated
 from, in this case `digitalmars.D`.

This does not happen to me, but I think I've seen it before. I think it has to do with some sort of cookie that webnews uses. Try going to the main page (with all the threads), and then go back to that specific one, I think it will work. -Steve

The last time I reported this Walter couldn't recreate the bug either. I think he might have used IE. Are you using Firefox by any chance?
Jun 22 2011
parent just me <no email.com> writes:
Andrej Mitrovic Wrote:

 On 6/22/11, Steven Schveighoffer <schveiguy yahoo.com> wrote:
 On Wed, 22 Jun 2011 14:12:12 -0400, Andrej Mitrovic
 <andrej.mitrovich gmail.com> wrote:

 Example page:
 http://www.digitalmars.com/webnews/newsgroups.php?art_group=digitalmars.D&article_id=93706

 If you click on the first "Re" link, you'll get redirected here:
 http://www.digitalmars.com/webnews/newsgroups.php?art_group=D.gnu&article_id=93711

 But that link should be:
 http://www.digitalmars.com/webnews/newsgroups.php?art_group=digitalmars.D&article_id=93711

 The link has the wrong "art_group" value, it seems to set it to
 `D.gnu` all the time instead of wherever the original post originated
 from, in this case `digitalmars.D`.

This does not happen to me, but I think I've seen it before. I think it has to do with some sort of cookie that webnews uses. Try going to the main page (with all the threads), and then go back to that specific one, I think it will work. -Steve

The last time I reported this Walter couldn't recreate the bug either. I think he might have used IE. Are you using Firefox by any chance?

Steps to reproduce with Firefox: 1. Go to http://www.digitalmars.com/webnews/newsgroups.php?search_txt=&group=digitalmars.D 2. Open some message (should have replies) to a new tab 3. With the original tab go to http://www.digitalmars.com/webnews/newsgroups.php?search_txt=&group=D.gnu 4. Switch to the tab with message and click any reply message => Now all reply links have invalid address. That is really annoying.
Jun 22 2011
prev sibling next sibling parent Andrej Mitrovic <andrej.mitrovich gmail.com> writes:
On 6/22/11, bearophile <bearophileHUGS lycos.com> wrote:
 Since about two months the online web interface doesn't allow me to go past
 the first page of the main D newsgroup:
 http://www.digitalmars.com/webnews/newsgroups.php?search_txt=&group=digitalmars.D

I can recreate this too.
Jun 22 2011
prev sibling next sibling parent Jesse Phillips <jessekphillips+D gmail.com> writes:
Andrej Mitrovic Wrote:

 Example page:
 http://www.digitalmars.com/webnews/newsgroups.php?art_group=digitalmars.D&article_id=93706
 
 If you click on the first "Re" link, you'll get redirected here:
 http://www.digitalmars.com/webnews/newsgroups.php?art_group=D.gnu&article_id=93711
 
 But that link should be:
 http://www.digitalmars.com/webnews/newsgroups.php?art_group=digitalmars.D&article_id=93711
 
 The link has the wrong "art_group" value, it seems to set it to
 `D.gnu` all the time instead of wherever the original post originated
 from, in this case `digitalmars.D`.
 
 There are numerous examples like this that are linked from the dwiki
 page which have the wrong links generated for all the RE replies.

In my experience you can not be browsing multiple groups. You can reproduce the behavior by reading a message from digitalmars.D and then in another tab navigating to digitalmars.gnu and the going back to the article and clicking a link.
Jun 22 2011
prev sibling next sibling parent "Steven Schveighoffer" <schveiguy yahoo.com> writes:
On Wed, 22 Jun 2011 14:44:42 -0400, bearophile <bearophileHUGS lycos.com>  
wrote:

 Steven Schveighoffer:

 Try going to the main page (with all the threads), and then go back to
 that specific one, I think it will work.

Is fixing the site an option, instead?

The code is here: http://web-news.sourceforge.net/ so yes, it's an option, it's open source.
 Since about two months the online web interface doesn't allow me to go  
 past the first page of the main D newsgroup:
 http://www.digitalmars.com/webnews/newsgroups.php?search_txt=&group=digitalmars.D

I have this same problem too. It actually doesn't allow you to go past the first page of any newsgroup. It would be nice if this was fixed, but I have no clue why it would not work, since nothing has changed. I suspect possibly the ever-increasing number of posts has started causing timeouts? -Steve
Jun 22 2011
prev sibling parent "Steven Schveighoffer" <schveiguy yahoo.com> writes:
On Wed, 22 Jun 2011 14:41:21 -0400, Andrej Mitrovic  
<andrej.mitrovich gmail.com> wrote:

 On 6/22/11, Steven Schveighoffer <schveiguy yahoo.com> wrote:
 On Wed, 22 Jun 2011 14:12:12 -0400, Andrej Mitrovic
 <andrej.mitrovich gmail.com> wrote:

 Example page:
 http://www.digitalmars.com/webnews/newsgroups.php?art_group=digitalmars.D&article_id=93706

 If you click on the first "Re" link, you'll get redirected here:
 http://www.digitalmars.com/webnews/newsgroups.php?art_group=D.gnu&article_id=93711

 But that link should be:
 http://www.digitalmars.com/webnews/newsgroups.php?art_group=digitalmars.D&article_id=93711

 The link has the wrong "art_group" value, it seems to set it to
 `D.gnu` all the time instead of wherever the original post originated
 from, in this case `digitalmars.D`.

This does not happen to me, but I think I've seen it before. I think it has to do with some sort of cookie that webnews uses. Try going to the main page (with all the threads), and then go back to that specific one, I think it will work. -Steve

The last time I reported this Walter couldn't recreate the bug either. I think he might have used IE. Are you using Firefox by any chance?

I tested with opera, but I normally use firefox. I think it has nothing to do with browser type. -Steve
Jun 22 2011