Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Issue with pxValidateURL, application hangs



When trying to configure attach a file functionality using OOTB attach file, and also trying to save the same file in sharepoint where attaching a URL, there are issues faced with pxValidateURL.

The regex in the edit validate rule returns an error when a URL has a space in it. (The application hangs when trying to attach a file name with spaces.)

Error Messages

Not Applicable

Steps to Reproduce

In the attachments tab of Case Manager portal, try to attach a document which has spaces in it (For example: abc def.txt).

Root Cause

pxValidateURL does not allow you to bypass the validation for blank space between file name which causes the issue.


Substitute "%20: for spaces before a question mark, and a "+" for space characters after it. The file name should be encoded accordingly while generating the URL.

Published October 5, 2015 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us