Akelos Framework v1 forum archive. This forum is no longer maintained. To report bugs please visit https://github.com/akelos/akelos/issues
    • CommentAuthorinsanet
     
    hello, any method out there or in akelos, to sanitize a string to filename, the "old" method of restriction using regex "A-Za-z0-9", is not really valid for a multilanguage app.
    •  
      CommentAuthorbermi
     

    Akelos has Ak::sanitize but it's mostly for sanitizing file names and does not play nicely with i18n strings. Depending on the language, you might find useful AkInflector::unaccent.

    Have a look at PHP's filter_var function as well.