| View previous topic :: View next topic |
| Author |
Message |
coldwinston General User

Joined: 17 Jan 2005 Posts: 14
|
Posted: Tue May 31, 2005 7:30 am Post subject: HTML documents redirecting OpenOffice when loaded |
|
|
When I attempt to open HTML documents in OpenOffice, any documents containing a <meta http-equiv="refresh"> tag redirect OpenOffice to another document, despite all my efforts to stop them! I have disabled the hyperlink setting in the Options:
OpenOffice.org -> Security -> Open Hyperlinks -> "Never"
But this does not seem to have had any effect, I have read through all of the other options and havent found anything else relevant...
Any ideas anyone?
Also, isn't this kind of action potentially a security hazard in OpenOffice?
Here is a sample of one of the HTML documents that I am trying to open:
| Code: | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Converting MicroSim Schematics Designs to OrCAD Capture Designs Quick Start PDF Link</title>
<script src="/Cookies.js"> </script>
<!-- These meta tags are used to set up the CDSDOC library window -->
<meta name="DocType" content="Manual">
<meta name="Title" content="Converting MicroSim Schematics Designs to OrCAD
...
<!-- This meta tag sets the HTML redirect to 5 seconds -->
<meta http-equiv="refresh" content="5; URL=./sch2cap.pdf">
</head>
<body bgcolor="#ffffff">
The rest of the body....
</body> |
Thanks in advance for any suggestions/solutions. I have had good responses from this forum in the past, heres to hoping this is an easy one!
Sean |
|
| Back to top |
|
 |
David Super User


Joined: 24 Oct 2003 Posts: 5668 Location: Canada
|
Posted: Tue May 31, 2005 9:27 am Post subject: Re: HTML documents redirecting OpenOffice when loaded |
|
|
| coldwinston wrote: | When I attempt to open HTML documents in OpenOffice, any documents containing a <meta http-equiv="refresh"> tag redirect OpenOffice to another document, despite all my efforts to stop them! I have disabled the hyperlink setting in the Thanks in advance for any suggestions/solutions. I have had good responses from this forum in the past, heres to hoping this is an easy one!
Sean |
You might first open in a simple text editor and change that line to a comment line.
You might try using an open source program like NVU, mentioned several times in this forum.
David. |
|
| Back to top |
|
 |
coldwinston General User

Joined: 17 Jan 2005 Posts: 14
|
Posted: Wed Jun 01, 2005 6:46 am Post subject: |
|
|
Thanks for your quick reply David,
| Quote: | | You might first open in a simple text editor and change that line to a comment line. |
Unfortunately the HTML pages are read-only. Also, there are a lot of them and many of them are transient so modifying them manually is not really feasible.
The perfect solution for me would be for the HTML tags to be ignored altogether - not rendered, nor dumped onto the screen with the text. But thats probably a lot to ask for. All I really need is for OpenOffice to refuse redirect calls from files.
I'm surprised it allows it anyway, surely nobody would have a use for this feature in OpenOffice (At least not when loading a file)! |
|
| Back to top |
|
 |
|