yiisoft/yii — pull request #719 by resurtm (2012-05-16 18:40:01+00:00)
Title: Fixes issue #126.

I've tested this solution with different application locations (subdirectories). Using application base URL is more logical than using script URL.