Opened 15 years ago

Closed 15 years ago

#4405 closed Bug (invalid)

samples pages base href

Reported by: jean-mat grimaldi Owned by:
Priority: Normal Milestone: CKEditor 3.1
Component: General Version:
Keywords: Pending Cc:

Description

Hi,

When viewing ckeditor 3.0 sample pages through the web we can get Http 404 errors because of missing basehref tag inside pages.

Just adding

<base href="./" />

would fix it

Best regards

Jean-mat

Change History (3)

comment:1 Changed 15 years ago by jean-mat grimaldi

Hmm this solution doesn't work under IE.

The only thing i've found is to add after the head tag :

<script>

<![CDATA[

document.write('<base href="' + document.location.href.substring(0,document.location.href.lastIndexOf('/')+1) + '" /><!--[if lt IE 7]><\/base><![endif]-->');

]]>

</script>

It works under Firefox and IE online & offline

comment:2 Changed 15 years ago by Garry Yao

Keywords: Pending added

In which case did you get any 404 error?

comment:3 Changed 15 years ago by jean-mat grimaldi

Resolution: invalid
Status: newclosed

Hi,

You can delete this ticket, this situation happens only when server is losing the basehref, in really rare cases, no problem with a standard Apache installation.

Sorry for this bad ticket.

Thanks

Jean-mat

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy