You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bug #44537 [Config] In XmlUtils, avoid converting from octal every string starting with a 0 (alexandre-daubois)
This PR was merged into the 4.4 branch.
Discussion
----------
[Config] In XmlUtils, avoid converting from octal every string starting with a 0
| Q | A
| ------------- | ---
| Branch? | 4.4
| Bug fix? | yes
| New feature? | no <!-- please update src/**/CHANGELOG.md files -->
| Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files -->
| Tickets | Fix#41532 <!-- prefix each issue number with "Fix #", no need to create an issue if none exist, explain below instead -->
| License | MIT
| Doc PR | N/A
One word on the use of `intval` instead of `octdec`: `octdec` leads to deprecation notices when testing a non-octal string:
```
Invalid characters passed for attempted conversion, these have been ignored
```
While `intval` doesn't, which worth the use in my opinion.
Commits
-------
30c3913 [Config] In XmlUtils, avoid converting from octal every string starting with a 0
0 commit comments