Closed Bug 158249 Opened 22 years ago Closed 22 years ago

I can't see the news in the middle of page

Categories

(Core :: Networking: HTTP, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 158241

People

(Reporter: michael, Assigned: darin.moz)

References

()

Details

I can't see the new in the middle page, i check
the source the page, and i find that the news are
generate by like this
<TR>                                                                           
                                                                               
            
   <TD vAlign=top width="100%" bgColor=#ffffff colSpan=2                       
                                                                               
                                                                 
   height=52>   <script language=javascript src="newslink1.php?type=&#23186;&#20307;&#21271;&#22823;
&item=10&width=52"></script>                                                   
                                                                               
                                                
<TR>     

So it should be a bug about javascript processing, right??
Wish you can resolve it, and the code after "type=" can't see
just because it is chinese coding.

If you are not responsed for javascript, will you forward it
to the one who will do it?

pku website is the famouse university site in china, so I hope
mozilla will view it fine.

Wish you luck!
Qu is correct. The middle of the page is created by external 
JavaScript files that document.write() the HTML content.

The problem is the Unicode characters in the URL of the 
external script. We can make a reduced testcase like this, 
by taking just one of the external scripts:

<script language=javascript 
src="http://pkunews.pku.edu.cn/newslink.php?type=ѧÊõ½²Ì³&item=5&width=22">
</script>


This is supposed to document.write() HTML content to the page.
Here is some of the source of that <script> file:

document.write('<tr>');
document.write('<td width=98% height=15 valign=top align=left>');
document.write('<a 
href="newsshow.php?id=7594">ÍõµÇ·å£º¶«Î÷·½ÎÄ.....</a>');


                       etc.
                       etc.


All this is missing from the main site, since none of these external
<script>'s load properly, and the document.write()'s do not occur.

Reassigning to Networking component; we have to be able to 
handle URLs with extended characters, right?
Assignee: rogerl → darin
Status: UNCONFIRMED → NEW
Component: JavaScript Engine → Networking: HTTP
Ever confirmed: true
QA Contact: pschwartau → tever
Actually, this is a duplicate of bug 158241 at the same site.
That bug has a good reduced testcase attached showing the problem -

*** This bug has been marked as a duplicate of 158241 ***
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
Verified dupe.
Status: RESOLVED → VERIFIED
QA Contact: tever → junruh
You need to log in before you can comment on or make changes to this bug.