Example #1
0
	def urlDecode(self, s):
		"""Alias for `WebUtils.Funcs.urlDecode`.

		Turns special % characters into actual characters.

		"""
		return Funcs.urlDecode(s)
Example #2
0
    def urlDecode(s):
        """Turn special % characters into actual characters.

        This method does the same as the `urllib.unquote_plus()` function.

        """
        return Funcs.urlDecode(s)
Example #3
0
    def urlDecode(s):
        """Turn special % characters into actual characters.

        This method does the same as the `urllib.unquote_plus()` function.
        """
        return Funcs.urlDecode(s)
Example #4
0
 def testUrlRoundTrip(self):
     t = '<test>\n\t"50% = 50,50?"\n</test>'
     self.assertEqual(Funcs.urlDecode(Funcs.urlEncode(t)), t)
Example #5
0
 def urlDecode(self, s):
     return Funcs.urlDecode(s)
Example #6
0
 def testUrlRoundTrip(self):
     t = '<test>\n\t"50% = 50,50?"\n</test>'
     self.assertEqual(Funcs.urlDecode(Funcs.urlEncode(t)), t)