1. Christoffer Niska
  2. yii-img
Issue #2 new

Broken RewriteRule

Evgeny Vlasenko
created an issue

In last commit (3d3a97790fcb) rewrite regexp is broken. But in previous version work correctly.

Comments (1)

  1. Evgeny Vlasenko reporter

    For best results you need to add jpeg format into regexp. Like this:

    RewriteRule ^versions/([^/]+)/[^\-\d]*\-?(\d+)\.(gif|jpg|png|jpeg)$ index.php?r=image/default/create&id=$2&version=$1 [L,R,QSA]
    
  2. Log in to comment