मुझे लगता है कि Django के urlencode
फिल्टर डिफ़ॉल्ट रूप से स्लैश एन्कोड नहीं करता:Django का 'urlencode` स्लैश एन्कोड क्यों नहीं करता है?
https://docs.djangoproject.com/en/dev/ref/templates/builtins/?from=olddocs#urlencode
मैं जानता हूँ कि मैं इसे स्लेश सांकेतिक शब्दों में बदलना कर सकते हैं, लेकिन क्यों यह यह डिफ़ॉल्ट रूप से नहीं करता है? स्लैश को एन्कोड करने के लिए यह स्वीकार्य व्यवहार नहीं है, बशर्ते कि यह यूआरएल में आरक्षित चरित्र है?
चलिए कुछ उपयोग मामलों को देखते हैं! –
इसे पढ़ें http://stackoverflow.com/questions/1957115/is-a-slash-equivalent-to-an-encoded-slash-2f-in-the-path-portion-of-a – catherine