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

pxValidateURL is not allowing valid URLs

SA-72776

Summary



pxValidateURL does not allow valid URLs.

The user's application uses the out-of-the-bopx Attachments feature. This feature allows the user to add URL links to a case. However, the system does not accept some of the valid inputs such as, ~, [, ], @.

For example:

http://www.your_page/~azuma/cacm.html (~ character)
https://docs.your_page.com/javase/6/docs/api/java/util/Arrays.html#binarySearch(byte[],%20byte)



Error Messages



Invalid value specified for pyURL.  Value doesn't adhere to the Validate: pxValidateURL.


Steps to Reproduce

  1. Open a case which has the out-of-the-box Attachments enabled.
  2. Click Add to add an attachment.
  3. Choose the URL.
  4. Use one of the examples.


Root Cause



A defect in Pegasystems’ code or rules. Regex used to validate the URL is incorrect. In Pega 7.3, Regex is updated to use org.apache.commons.validator.routines.UrlValidator to validate URLs.


Resolution



Apply  HFix-50653.

Published March 30, 2019 - 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