Changeset 11:8f47428560c6 in livinglogic.googleappengine.ul4

Show
Ignore:
Timestamp:
08/02/08 22:47:40 (11 years ago)
Author:
Walter Doerwald <walter@…>
Branch:
default
Message:

Decode request parameters.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main.py

    r1 r11  
    1313class CompileHandler(webapp.RequestHandler): 
    1414    def post(self): 
    15         source = self.request.get("source") 
    16         startdelim = self.request.get("startdelim", "<?") 
    17         enddelim = self.request.get("enddelim", "?>") 
    18         format = self.request.get("format", "bytecode") 
     15        source = self.request.get("source").decode("utf-8") 
     16        startdelim = self.request.get("startdelim", "<?").decode("utf-8") 
     17        enddelim = self.request.get("enddelim", "?>").decode("utf-8") 
     18        format = self.request.get("format", "bytecode").decode("utf-8") 
    1919 
    2020        try: