Skip to content

fix(urls): remove CR (\r) from plugin URL insertion#1647

Open
infinyte-solutions wants to merge 1 commit intousmannasir:stablefrom
infinyte-solutions:patch-3
Open

fix(urls): remove CR (\r) from plugin URL insertion#1647
infinyte-solutions wants to merge 1 commit intousmannasir:stablefrom
infinyte-solutions:patch-3

Conversation

@infinyte-solutions
Copy link
Contributor

What

Fixes plugin URL insertion to avoid writing CR (\r) which appears as ^M in urls.py.

Why

^M causes malformed URL entries and may break Django URL configuration / parsing.

How

Remove \r from the generated path(...) line.

Test

Ran plugin install/upgrade once and verified urls.py contains:

path('/', include('.urls')),

no ^M characters.

Removes stray carriage return (\r) that produced ^M in urls.py.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant