summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/fields/basic_fields.js
diff options
context:
space:
mode:
authorPatrick Hoste <pko@odoo.com>2020-06-04 12:13:16 +0000
committerThibault Delavallée <tde@odoo.com>2020-08-06 15:07:37 +0000
commit8c0bc4f4b81db820fe984ebc4d209894a8041f39 (patch)
tree2015e15b1605e1ceb5ecf15c46fdc9e74f9050a4 /addons/web/static/src/js/fields/basic_fields.js
parent15d26110033c2cc1eb23f8c37f2a794e69631746 (diff)
[FIX] web: fix image widget when record name is ..
PURPOSE Before this commit, when you used the 'image' widget when the record name was ``..`` (double dots) it couldn't retrieve the image since the double dots was decoded as the parent directory shortcut. After this commit, the double dots will be replaced by -- with the downside to loose the true record name. SPECIFICATIONS Replace the .. (double dots) with -- in the filename. Using .. may seem like a strange use case but if you actually try to find a partner called ".." in a production database, you might be surprised ... LINKS Task ID-2241513 (eLearning onboarding and testing) PR #55567 X-original-commit: dcb7a924c36cd3f3aeef891ddd8830bd66322025
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions