strip fragment and other parts from url in case of pdf
strip fragment and other parts from url in case of pdf

Task-number: part of 238496
Reviewed-by: hjk

pruiz/wkhtmltopdf-qt,KDE/qt,RLovelett/qt,igor-sfdc/qt-wk,RLovelett/qt,RLovelett/qt,pruiz/wkhtmltopdf-qt,radekp/qt,igor-sfdc/qt-wk,igor-sfdc/qt-wk,igor-sfdc/qt-wk,igor-sfdc/qt-wk,KDE/qt,KDE/qt,pruiz/wkhtmltopdf-qt,pruiz/wkhtmltopdf-qt,RLovelett/qt,RLovelett/qt,pruiz/wkhtmltopdf-qt,KDE/qt,RLovelett/qt,KDE/qt,igor-sfdc/qt-wk,RLovelett/qt,igor-sfdc/qt-wk,radekp/qt,pruiz/wkhtmltopdf-qt,pruiz/wkhtmltopdf-qt,KDE/qt,pruiz/wkhtmltopdf-qt,radekp/qt,RLovelett/qt,RLovelett/qt,igor-sfdc/qt-wk,igor-sfdc/qt-wk,pruiz/wkhtmltopdf-qt,pruiz/wkhtmltopdf-qt,radekp/qt,RLovelett/qt,KDE/qt,radekp/qt,KDE/qt,pruiz/wkhtmltopdf-qt,radekp/qt,radekp/qt,radekp/qt,igor-sfdc/qt-wk,igor-sfdc/qt-wk,RLovelett/qt,radekp/qt,radekp/qt