Comments (6)
Do we need a PR for this? Or is it just missing from the release notes?
from phplist3.
Duncan, I must have missed your commit. The branch is gone. Can you re-push it?
from phplist3.
@michield Can you just copy those lines (or amend the existing code to do something equivalent)? This is the existing code that replaces one character by two (bin2hex generates two characters from one random byte). The following hex2bin fails due to an odd length input.
$masked = substr($linkUUID,0,14).bin2hex(random_bytes(1)).substr($linkUUID,15).
substr($cached[$messageid]['uuid'],0,14).bin2hex(random_bytes(1)).substr($cached[$messageid]['uuid'],15).
substr($userdata['uuid'],0,14).bin2hex(random_bytes(1)).substr($userdata['uuid'],15);
from phplist3.
OK, I committed a139f35
but it works for me either way. I'm not sure why. I think your version is safer though, as it forces the bin2hex into one character. Maybe it's not always the same on all systems.
from phplist3.
With the original code, when sending a test message there was this error reported for each url
and the tid parameter in links in the text format email was empty
Here is a link
http://strontian/lists/lt.php?tid=&hm=5af08ebfceb4eb0da430799e349afe38482f5c727cc547dd21a3c146d5e32f5f
from phplist3.
strange. That didn't happen for me. I guess some system differences,,,,
from phplist3.
Related Issues (20)
- Emoji in subject lines HOT 1
- list selection gets wiped unexpectedly
- hardcoded table names
- Difficulty to import emails HOT 3
- Cannot create new super admins HOT 1
- Private campain templates HOT 1
- Problem with definition of timestamp columns HOT 3
- feature request for the orgs i am with HOT 2
- Add a plugin homepage hook
- Add a hook to allow plugins to download attachments
- please add arm64 builds of docker images HOT 1
- Also process bounced unidentified message HOT 3
- Read this when opening an issue
- Unsubscribe with confirmation: why system does not to delete my email? HOT 1
- phplist logs me off instantly HOT 9
- Ability to disable 'test' features in future releases? HOT 2
- Unable to update translations HOT 2
- Fix certain PR checks that always fail HOT 7
- Mailgun API HOT 4
- max_queries_per_hour HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from phplist3.