Add the newlline
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
All Stories
Dec 2 2024
Dec 1 2024
this unfortunately caused T15963: LDAP over TLS is broken :/
(I still need to understand the old intentions on the old regex, and the new one, but it seems much magically readable, thanks)
Nov 30 2024
Double slam accept
Simplify return of validateRealName() as proposed by Valerio
Nov 29 2024
BTW I think the page is reached by a crawler that is visiting a branch root on a specific commit:
Wow. Assuming the line is the one with phutil_nonempty_string($branch), why branch "main" is considered a number?
sgtm. Thanks :) just that comment
Thanks for catching that! Amend in new PhutilNumber()
Finally got a reproducer URI in downstream:
Nov 28 2024
In D25696#22447, @valerio.bozzolan wrote:Maybe relevant but PhabricatorObjectHandleData seems to do some magic
Yes maniphest.edit is the modern way to do it.
Nov 27 2024
Maybe relevant but PhabricatorObjectHandleData seems to do some magic about filling PhabricatorObjectHandle with stuff like the name.
Thanks for the comment
Nov 26 2024
Works on my machine!
Thanks :)
Also update the PhpDoc accordingly
Ignore PHP 8.3.0's new DateMalformedStringException and stick to generic Exception in all cases instead
Handle whitespace-only task and project titles correctly
This needs rework as the logic currently does not properly handle entering a title consisting of whitespace only. (Outcome gets unpleasant afterwards.)
Nov 25 2024
Nov 24 2024
It might be slightly safer to use PhutilURI, but this is in any case a potentially-unsafe configuration.
Nov 23 2024
https://devina.io/redos-checker says the new regex is still prone to polynomial backtracking, but that can happen only on extremely contrived input, whereas the old one was exponential on a common case.
Fix lint
Digging deeper, the problem is specific to ProjectRemarkupRule::getObjectIDPattern. That returns:
Step 2: Remove irrelevant character class exclusions:
Disentangling that monster regex, step 1:
Indeed https://devina.io/redos-checker says the aformentioned regex is exponential time worst-case
I monkeypatched the code to print preg_last_error when the problematic preg_match returns null. The error is "Backtrack limit exhausted".
Nov 22 2024
Thanks :)
This should be resolved by now in git master
Nov 21 2024
Ah, the mythical Platypus Ornithopter!