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

Submitter:  Patrice Dumas <pertusus>
Submitted:  Thu 15 May 2008 06:25:13 PM UTC
   
 
Category:  None Severity:  5 - Blocker
Release:  None Status:  Fixed
Privacy:  Public Assigned to:  strk
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

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

Thanks for testing.

Sandro Santilli <strk>
Group Member
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>
Group Member
Sat 17 May 2008 09:34:12 AM UTC, comment #3: 

Committed in head, will commit to branch shortly.

Sandro Santilli <strk>
Group Member
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>
Group Member
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>
Group Member
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 Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2008-07-10 strk StatusReady For Test Fixed
        Open/ClosedOpen Closed
    2008-05-17 strk Severity3 - Normal 5 - Blocker
        StatusIn Progress Ready For Test
    2008-05-17 strk StatusConfirmed In Progress
        Assigned toNone strk
    2008-05-15 strk StatusNone Confirmed

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code