#16778: Bad geometry escape in postgis
------------------------+---------------------------------------------
Reporter: piro | Owner: nobody
Type: Bug | Status: closed
Component: GIS | Version: 1.3
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Ready for checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
------------------------+---------------------------------------------
Comment (by anonymous):
Replying to [comment:6 stephaner]:
> Just for the sake of clarity, the PostgreSQL option is:
>
> `standard_conforming_strings = off`
>
> See the trailing `s` at the end.
>
> Now that major Linux distributions have switched to PostgreSQL 9.1 (eg.
Fedora 16, Ubuntu 11.10), this bug impacts many more people.
> So as said by pjdelport, it would great to include this fix in Django
1.3.2.
The current policy for backporting fixes to maintenance branches (like
1.3.x) is that they only get fixes for data loss or security problems. So
unfortunately that means this fix won't be backported to such branch.
The good news is that you can apply this four-line patch by yourself to
your copy of Django. By doing this:
* You know there is not other change to 1.3.1 than the fix for this issue
(some shops have policies about only using officially released versions of
software, this would mean breaking that but OTOH this item means you can
keep risks low when you have heavily invested and tested 1.3.1)
* You don't have to wait for Django 1.3.2
* You don't have to wait for Django 1.4
In the practice, a line needs to be drawn regarding compatibility with
features of other parts of the stack. Django 1.3 was releases in March
2011 and Postgres 9.1 in September 2011. If every release of Django would
need to be updated for every change of behavior of every new version piece
of software that appear in every new OS release, the task of adapting to
them would be a never ending one. That's what the development trunk in the
repository is for.
--
Ticket URL: <https://code.djangoproject.com/ticket/16778#comment:7>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.