Arnold Noronha

Results 54 comments of Arnold Noronha

+1, I'm having this issue too

The test failure seems related to the Swift upgrade. I had to make that change locally in order to run `make test-swift`. Let me know if you'd like to fix...

Could you clarify a typical use case for these functions? It could help with the naming. In particular just calling it prefix and suffix makes me ask, what happens in...

@vindarel Oh sorry I meant (str:ensure-starts-with "/ba" "bar"). The shortest way to "ensure" that "bar" starts with "/ba" is to just prepend a "/"

I agree with your use case btw, I can see myself using that frequently. Just not sure about the semantics or usefulness of multi-character prefixes/suffixes.

I was trying to figure out real world situations where multi-character prefixs and suffixes come up, this is the best I got: `(str:ensure-ends-with "/index.html" "https://example.com/")` --> I would expect this...

> (str:ensure-starts-with "https:// "http://www.example.com") ;; => should it give "https://www.example.com" ? This one should definitely not be part of cl-str. My URI examples were mostly for "first-pass", "hacky" implementations. It's...

I am so confused.. this sounds like a huge security issue. I just discovered this by accident since I was writing code that was intentionally hitting a self-signed server and...

Oh, looks like I need to set this up in cl+ssl. It's definitely an unsafe default, but I guess I can understand why this is so. For the record, I...

@stassats The `conditions.lisp` file wasn't dependent on any acceptor related code, so it made sense to keep it that way. I would have to move the get-backtrace to somewhere after...