Re: Fatal error when page render clashes with a mail/news fetch

2011-10-27 Thread Michael Drake
In article 522534c93bch...@chris-johnson.org.uk,
   cj ch...@chris-johnson.org.uk wrote:
 In article 18c32a2552.GrahameParish@grahame.parish,
Grahame Parish maillist.par...@millers-way.net wrote:

  Just tried loading the news.bbc.co.uk page and running a mail fetch 
  (Netfetch/Hermes) and got a NetSurf error followed by quit.

 Ahhh - it's not just my system then.

Please try the latest build.  The problem was tracked down to an issue in
UnixLib which has now been fixed.

-- 

Michael Drake (tlsa)  http://www.netsurf-browser.org/



Fragment identifiers, PHP, and NetSurf

2011-10-27 Thread John Williams

Doing a bit of scripting to compensate for inadequacies in the BBC Radio 4
Schedule page, I find that, whilst a URL file containing:

http://www.bbc.co.uk/radio4/programmes/schedules/fm/#latenight  

takes me directly to the Late section in NetSurf, the same URL sent from
PHP as a header('Location: ...) function seems to lose the fragment
identifier altogether and just loads the base page.

It does, however, work OK when called with IE8 under Windows XP Pro, and
Firefox under Linux.

I am puzzled as to why this only happens with NetSurf. 

I am running the PHP scripting locally using WebJames, but the same thing
happens if I put the script on my web site, except now IE8 ignores the
fragment identifier as well!

I'm flummoxed.

John




Re: Fragment identifiers, PHP, and NetSurf

2011-10-27 Thread John Harrison
In article 5228d86a93joh...@ukgateway.net,
   John Williams joh...@ukgateway.net wrote:
  I find that, whilst a URL file containing:

 http://www.bbc.co.uk/radio4/programmes/schedules/fm/#latenight   

 takes me directly to the Late section in NetSurf, the same URL sent from
 PHP as a header('Location: ...) function seems to lose the fragment
 identifier altogether and just loads the base page.

 I am puzzled as to why this only happens with NetSurf.   

This might be completely unconnected, but I have noticed that if I drag a
URL containing a fragment identifier from NetSurf to something else
(StrongEd, WebWonder, or whatever) only the base URL gets copied across,
like this, in the example above:

http://www.bbc.co.uk/radio4/programmes/schedules/fm

Regards

-- 
John Harrison
Website http://jaharrison.me.uk



Re: Fragment identifiers, PHP, and NetSurf

2011-10-27 Thread John Williams
In article 5228d9da6fj...@jaharrison.me.uk,
   John Harrison j...@jaharrison.me.uk wrote:

 I have noticed that if I drag a URL containing a fragment identifier from
 NetSurf to something else (StrongEd, WebWonder, or whatever) only the
 base URL gets copied across, like this, in the example above

I see what you mean. But the same thing happens if I send the URL with the
fragment identifier to IE8 as a shortcut (via my URLtoIE utility) - the
last bit disappears - so perhaps that is accepted behaviour?

This may not be a NetSurf-specific problem at all.  But flagged-up here,
those who know can decide and tell us.

John