summaryrefslogtreecommitdiff
path: root/addons/analytic/data
diff options
context:
space:
mode:
authorOlivier Dony <odo@openerp.com>2014-08-01 10:50:25 +0200
committerOlivier Dony <odo@openerp.com>2014-08-01 15:08:33 +0200
commitdcac4cc0dfd4412e1139399fb17ec7ba6118aad4 (patch)
tree959444425ceaf8782b7e97aafca8d018a66c5f1e /addons/analytic/data
parent12a9e3797d847cbd8896a55eb50a3081705c54a3 (diff)
[FIX] website: slug: fallback to positive ID when slug appears to contain a missing negative ID
In some rare cases database records have negative IDs, so the slug URL could look like /foo--20. This could be mistaken for a slug ending with a `-` and a positive ID. The latter is not supposed to happned as final hyphens are stripped by slugify, but has been used in the past and may be used in old links.
Diffstat (limited to 'addons/analytic/data')
0 files changed, 0 insertions, 0 deletions