﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
36393	_5C in pk of related model turns into back slash (\) in admin url	Nikolay Fedorov		"I have two models: a Video and a Question. The ""video"" field in the Question model is a ForeignKey to the video model. If the video has pk = {{{'Ml_XFX_5CYo'}}} and it is assigned to a question, then when you try to view or edit the video from the question page in the admin section, clicking on the link results in an error that the video with pk = {{{'Ml_XFX\Yo'}}} does not exist. For some reason, when trying to access the video from the question card, {{{'Ml_XFX_5CYo'}}} turns into {{{'Ml_XFX\Yo'}}}. I think problem on {{{django.contrib.admin.utils.quote}}} function (maybe not). Presumably, the problem is that the url conversion or protection mechanism considers {{{_5C}}} as {{{%5C}}} and Ml_XFX**_5C**Yo' turns into 'Ml_XFX**\**Yo'."	Bug	closed	contrib.admin	5.2	Normal	duplicate			Unreviewed	0	0	0	0	0	0
