incubator-ooo-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 119399] LoadComponentFromUrl fails for http:// url with UTF-8 encoding (regression)
Date Sun, 27 May 2012 07:30:41 GMT
https://issues.apache.org/ooo/show_bug.cgi?id=119399

--- Comment #8 from bmarcelly <marcelly@club-internet.fr> ---
Created attachment 77609
  --> https://issues.apache.org/ooo/attachment.cgi?id=77609&action=edit
Test if web pages exist, using css.ucb.SimpleFileAccess

Probably the same bug : 
Simple File Access does not always recognize the existence of a web file.
Run the macro in this attachment.

Sub Main
Dim sfa As Object
Dim web As String
sfa = CreateUnoService("com.sun.star.ucb.SimpleFileAccess")
'   run this on AOO 3.4.0
web = "http://www.openoffice.org/api/docs/common/ref/index-files/index-1.html"
MsgBox("Does this web page exist ? " & sfa.exists(web), 0, web) ' False !
wait 10
web = "https://issues.apache.org/ooo/"
MsgBox("Does this web page exist ? " & sfa.exists(web), 0, web) ' True
wait 10
web = "http://www.apache.org/"
MsgBox("Does this web page exist ? " & sfa.exists(web), 0, web) ' False !
wait 10
web = "http://www.fieggen.com/shoelace/index.htm"
MsgBox("Does this web page exist ? " & sfa.exists(web), 0, web) ' True
End Sub

On OpenOffice 3.3.0 all these addresses return True.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Mime
View raw message