Update of /cvsroot/freevo/freevo/src/www/htdocs
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4314

Modified Files:
        edit_favorite.rpy favorites.rpy 
Log Message:
Fixes for favorites containing the '&' symbol... covert it from the HTML
"%26" into "&"


Index: edit_favorite.rpy
===================================================================
RCS file: /cvsroot/freevo/freevo/src/www/htdocs/edit_favorite.rpy,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -d -r1.16 -r1.17
*** edit_favorite.rpy   11 Apr 2004 06:51:17 -0000      1.16
--- edit_favorite.rpy   20 May 2004 15:45:07 -0000      1.17
***************
*** 12,15 ****
--- 12,19 ----
  # -----------------------------------------------------------------------
  # $Log$
+ # Revision 1.17  2004/05/20 15:45:07  outlyer
+ # Fixes for favorites containing the '&' symbol... covert it from the HTML
+ # "%26" into "&"
+ #
  # Revision 1.16  2004/04/11 06:51:17  dischi
  # unicode patch
***************
*** 105,109 ****
  #endif
  
! import sys, time
  
  from tv.record_types import Favorite
--- 109,113 ----
  #endif
  
! import sys, time, string
  
  from tv.record_types import Favorite
***************
*** 138,141 ****
--- 142,146 ----
          action = fv.formValue(form, 'action')
          name = Unicode(fv.formValue(form, 'name'))
+         name = string.replace(name,'%26','&')
          if isinstance( name, str ):
              name = Unicode( name, 'latin-1' )

Index: favorites.rpy
===================================================================
RCS file: /cvsroot/freevo/freevo/src/www/htdocs/favorites.rpy,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -d -r1.15 -r1.16
*** favorites.rpy       13 Mar 2004 18:32:29 -0000      1.15
--- favorites.rpy       20 May 2004 15:45:07 -0000      1.16
***************
*** 12,15 ****
--- 12,19 ----
  # -----------------------------------------------------------------------
  # $Log$
+ # Revision 1.16  2004/05/20 15:45:07  outlyer
+ # Fixes for favorites containing the '&' symbol... covert it from the HTML
+ # "%26" into "&"
+ #
  # Revision 1.15  2004/03/13 18:32:29  rshortt
  # Make sure the dow key is a str.
***************
*** 103,107 ****
  #endif
  
! import sys, time
  import urllib
  
--- 107,111 ----
  #endif
  
! import sys, time, string
  import urllib
  
***************
*** 133,136 ****
--- 137,141 ----
          oldname = fv.formValue(form, 'oldname')
          name = fv.formValue(form, 'name')
+         name = string.replace(name,'%26','&')
          title = fv.formValue(form, 'title')
          chan = fv.formValue(form, 'chan')



-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to