Fix: fixing issue where pdf action produces an error when from is submitted when path contains revision number