bugGnash - The GNU Flash player - Bugs: bug #23260, "." in html leads to...

 
 

bug #23260: "." in html leads to file url file://, instead of relative url

Submitted by:  Patrice Dumas <pertusus>
Submitted on:  Thu 15 May 2008 06:25:13 PM UTC  
 
Category: NoneSeverity: 5 - Blocker
Release: NoneStatus: Fixed
Privacy: PublicAssigned to: Sandro Santilli <strk>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

(Jump to the original submission Jump to the original submission)

Thu 10 Jul 2008 05:16:46 PM UTC, comment #6:

Thanks for testing.

Sandro Santilli <strk>
Project MemberIn charge of this item.
Thu 10 Jul 2008 04:53:17 PM UTC, comment #5:

Seems to be ok in 0.8.3.

Patrice Dumas <pertusus>
Tue 03 Jun 2008 09:45:45 PM UTC, comment #4:

just an update, was committed to branch too... waiting for Patrice to confirm the fix.

Sandro Santilli <strk>
Project MemberIn charge of this item.
Sat 17 May 2008 09:34:12 AM UTC, comment #3:

Committed in head, will commit to branch shortly.

Sandro Santilli <strk>
Project MemberIn charge of this item.
Sat 17 May 2008 07:47:55 AM UTC, comment #2:

Got it now, it broke since we introduced support for
parsing the 'base' parameter.
We currently blindly use the 'base'.
A solution would be resolving 'base' relative to base url
either given with -U or computed. This would allow NOT
touching the plugin code at all.

Sandro Santilli <strk>
Project MemberIn charge of this item.
Thu 15 May 2008 06:33:38 PM UTC, comment #1:

For general handling of relative urls there we might
be using the URL class from the plugin.
The plugin already computes url of current page, to use
as real base.
Patches welcome.

Sandro Santilli <strk>
Project MemberIn charge of this item.
Thu 15 May 2008 06:25:13 PM UTC, original submission:

From
https://bugzilla.redhat.com/show_bug.cgi?id=446640

The button on http://www.freshwell-health-centre.com/ doesn't seem to work, although I'm sure it once did.

I see the following output:

Starting process: /usr/bin/gtk-gnash -x 58722964 -j 100 -k 23 -u
http://www.freshwell-health-centre.com/button7.swf -F 53 -U
http://www.freshwell-health-centre.com/ -P base=. -P height=23 -P
pluginspage=http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash
-P quality=high -P src=button7.swf -P type=application/x-shockwave-flash -P
width=100 -
RcInitFile: parsing /home/dwmw2/.gnashrc
17304] 15:22:49: DEBUG: gnash::media::sound_handler*
gnash::media::create_sound_handler_gst() enter
17304] 15:22:50: DEBUG: returning
17304] 15:22:50: DEBUG: Checking support for MIT-SHM...
17304] 15:22:50: DEBUG: NOTICE: MIT-SHM available (version 1.1)!
17304] 15:22:50: DEBUG: Your X server expects RGB24 pixmap data for standard mode.
17304] 15:22:50: DEBUG: Created XEmbedded window
17304] 15:22:50: DEBUG: X server pixel format is (R16:8, G8:8, B0:8, 32 bpp)
17304] 15:22:50: DEBUG: X server is using ARGB32 pixel format
17304] 15:22:50: DEBUG: framebuffer pixel format is ARGB32 (big-endian host)
17304] 15:22:50: DEBUG: Base url set to: file:///home/dwmw2/.
17304] 15:22:50: DEBUG: GTK-AGG: Using shared memory image
17304] 15:22:50: DEBUG: initialized AGG buffer <0xf797c000>, 9200 bytes, 100x23,
rowsize is 400 bytes
17304] 15:22:50: UNIMPLEMENTED: FIXME: tagtype = 55
17304] 15:22:50: MALFORMED SWF: last expected SHOWFRAME in SWF stream
'http://www.freshwell-health-centre.com/button7.swf' isn't followed by an END (41).
17304] 15:22:50: ERROR: Parsing exception: premature end of tag: need to read 26
bytes, but only 23 left in this tag
17304] 15:22:50: DEBUG: Global instance list grew to 8 entries
17304] 15:22:51: DEBUG: get url: target=_parent, url=file:///home/dwmw2/Homepage
Frameset.htm (Homepage Frameset.htm), method=0 (sendVars:0, loadTarget:0,
loadVariable:0)
17304] 15:22:51: SECURITY: Load of file /home/dwmw2/Homepage Frameset.htm
forbidden (starting url http://www.freshwell-health-centre.com/button7.swf is
not a local resource).

It happens with gnash from cvs. Looks like it sees the
<param name="base" value="."> in the HTML source, and calculates that relative to the current directory, instead of to the original URL.

Patrice Dumas <pertusus>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by strk (Posted a comment)
  • -unavailable- added by pertusus (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 7 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 10 Jul 2008 05:16:46 PM UTCstrkStatusReady For Test=>Fixed
      Open/ClosedOpen=>Closed
    Sat 17 May 2008 09:34:12 AM UTCstrkSeverity3 - Normal=>5 - Blocker
      StatusIn Progress=>Ready For Test
    Sat 17 May 2008 07:47:55 AM UTCstrkStatusConfirmed=>In Progress
      Assigned toNone=>strk
    Thu 15 May 2008 06:33:38 PM UTCstrkStatusNone=>Confirmed

    Back to the top


    Powered by Savane 3.1-cleanup1