diff options
author | Bastien Nocera <hadess@hadess.net> | 2008-10-08 16:42:28 +0000 |
---|---|---|
committer | Bastien Nocera <hadess@src.gnome.org> | 2008-10-08 16:42:28 +0000 |
commit | 464d030b5f2b62a7d236dde46fba8fd4da798856 (patch) | |
tree | 963f1d0a9cb18176407f83048c30b98b0138cf11 /browser-plugin/totemPlugin.h | |
parent | 6c7af47ae976025e45796ad14a0673f936c645b8 (diff) | |
download | totem-464d030b5f2b62a7d236dde46fba8fd4da798856.tar.gz |
As the requestURI isn't an absolute URI anymore, it might not have a
2008-10-08 Bastien Nocera <hadess@hadess.net>
* browser-plugin/totemPlugin.cpp:
* browser-plugin/totemPlugin.h: As the requestURI isn't an absolute
URI anymore, it might not have a scheme, in which case, check that
of the baseURI, fixes viewer being called with a playlist, instead
of a media URI when the src is relative (Closes: #555417)
svn path=/trunk/; revision=5757
Diffstat (limited to 'browser-plugin/totemPlugin.h')
-rw-r--r-- | browser-plugin/totemPlugin.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/browser-plugin/totemPlugin.h b/browser-plugin/totemPlugin.h index 3e9badafb..618651531 100644 --- a/browser-plugin/totemPlugin.h +++ b/browser-plugin/totemPlugin.h @@ -160,7 +160,7 @@ class totemPlugin { bool IsMimeTypeSupported (const char *aMimeType, const char *aURL); - bool IsSchemeSupported (const char *aURI); + bool IsSchemeSupported (const char *aURI, const char *aBaseURI); void SetRealMimeType (const char *aMimeType); bool ParseBoolean (const char *key, const char *value, |